• sschmitz@chromium.org's avatar
    Crash when taking screenshot onto Chrome OS Google Drive. · f77f856d
    sschmitz@chromium.org authored
    And, Don't stack screenshot notifications.
    
    Changed profile handling. The profile is now retrieved everytime a screenshot is taken and
    not only once in Ash init. The reason is that the profile can change, which caused this crash.
    
    Changed behavior for a subsequent screenshot notification. It will replace the previous
    notification (rather than add a new one).
    
    When saving to Google Drive we have two path: screenshot path (used in notification) and
    local path (for internal cash/work; used in writing). Add proper handling of both paths.
    
    
    BUG=231707, 232876, 233574
    R=jamescook@chromium.org
    TEST=manual
    
    Review URL: https://chromiumcodereview.appspot.com/14027009
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195370 0039d316-1c4b-4281-b951-d872f2087c98
    f77f856d
screenshot_taker_unittest.cc 4.42 KB