• kinaba@chromium.org's avatar
    gdata: Save screenshot to /drive. · d5b66843
    kinaba@chromium.org authored
    Note that this does not support the full functions of screenshots.
    It merely makes possible to save the screenshot .png file to  /drive.
    What are *not* yet included in this patch are:
    - Show/upload the images from "Report issue" (crbug:140622).
    - Taking care of name collisions. For now, when a screenshot is taken
      after a short time period of another screenshot, the new comer will
      overwrite or recorded as ".. (1).png", depending on timing.
    
    Not quite good, but for M22, I hope it is better than nothing.
    
    BUG=138593
    
    Review URL: https://chromiumcodereview.appspot.com/10830179
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150204 0039d316-1c4b-4281-b951-d872f2087c98
    d5b66843
screenshot_taker.cc 9.13 KB