Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Issue 10693109: Use Drive v2 API: enable behind --enable-drive-api flag (Closed)

Created:
8 years, 5 months ago by kochi
Modified:
8 years, 4 months ago
Reviewers:
satorux1
CC:
chromium-reviews, achuith+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, Daniel Erat
Visibility:
Public.

Description

Use Drive v2 API: enable behind --enable-drive-api flag This only converts GetAccountMetadata to use Drive V2 API. The Document List API returns InstalledApp list in the account metadata feed, but Drive API has separate API and that part is not implemented yet. More conversions, tests to follow. BUG=chromium:127728 TEST=not break all unittests

Patch Set 1 : , #

Patch Set 2 : . #

Total comments: 5

Patch Set 3 : Remove boolean use_drive_api #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -38 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 1 chunk +2 lines, -1 line 3 comments Download
M chrome/browser/chromeos/gdata/gdata_operations.cc View 1 2 3 chunks +12 lines, -1 line 2 comments Download
M chrome/browser/chromeos/gdata/gdata_parser.h View 1 2 1 chunk +2 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_parser.cc View 1 2 4 chunks +101 lines, -21 lines 2 comments Download
M chrome/browser/chromeos/gdata/gdata_util.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_util.cc View 1 2 3 chunks +12 lines, -4 lines 2 comments Download

Messages

Total messages: 10 (0 generated)
kochi
Hi Satoru, This is the first attempt to migrate and use Drive v2 API. I'm ...
8 years, 5 months ago (2012-07-09 10:45:33 UTC) #1
satorux1
Thank you for sending this out early. I have a feeling that this is not ...
8 years, 5 months ago (2012-07-09 15:58:11 UTC) #2
kochi
Thanks for the comments. Adding gdata::util::IsDriveV2ApiEnabled() made the change list a lot smaller and easier ...
8 years, 5 months ago (2012-07-10 09:01:14 UTC) #3
satorux1
http://codereview.chromium.org/10693109/diff/1048/chrome/browser/chromeos/gdata/gdata_parser.cc File chrome/browser/chromeos/gdata/gdata_parser.cc (right): http://codereview.chromium.org/10693109/diff/1048/chrome/browser/chromeos/gdata/gdata_parser.cc#newcode1027 chrome/browser/chromeos/gdata/gdata_parser.cc:1027: class AccountMetadataFeedDriveAPI : public AccountMetadataFeed { What about creating ...
8 years, 5 months ago (2012-07-10 18:10:33 UTC) #4
kochi
http://codereview.chromium.org/10693109/diff/1048/chrome/browser/chromeos/gdata/gdata_parser.cc File chrome/browser/chromeos/gdata/gdata_parser.cc (right): http://codereview.chromium.org/10693109/diff/1048/chrome/browser/chromeos/gdata/gdata_parser.cc#newcode1027 chrome/browser/chromeos/gdata/gdata_parser.cc:1027: class AccountMetadataFeedDriveAPI : public AccountMetadataFeed { At first I ...
8 years, 5 months ago (2012-07-11 09:43:27 UTC) #5
satorux1
http://codereview.chromium.org/10693109/diff/1048/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10693109/diff/1048/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode918 chrome/browser/chromeos/gdata/gdata_file_system.cc:918: if (!gdata::util::IsDriveV2ApiEnabled()) does this mean the webapps registry does ...
8 years, 5 months ago (2012-07-12 07:49:06 UTC) #6
kochi
http://chromiumcodereview.appspot.com/10693109/diff/1048/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://chromiumcodereview.appspot.com/10693109/diff/1048/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode918 chrome/browser/chromeos/gdata/gdata_file_system.cc:918: if (!gdata::util::IsDriveV2ApiEnabled()) I intend to separate a new DriveFileSystem ...
8 years, 5 months ago (2012-07-13 10:33:52 UTC) #7
satorux1
http://codereview.chromium.org/10693109/diff/1048/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10693109/diff/1048/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode918 chrome/browser/chromeos/gdata/gdata_file_system.cc:918: if (!gdata::util::IsDriveV2ApiEnabled()) On 2012/07/13 10:33:52, Takayoshi Kochi wrote: > ...
8 years, 5 months ago (2012-07-14 07:15:34 UTC) #8
satorux1
is this still relevant? otherwise, please close so it won't show up in our code ...
8 years, 4 months ago (2012-08-03 17:32:23 UTC) #9
kochi
8 years, 4 months ago (2012-08-05 06:39:16 UTC) #10
On 2012/08/03 17:32:23, satorux1 wrote:
> is this still relevant? otherwise, please close so it won't show up in our
code
> review dashboard. :)

Closing the issue.

Powered by Google App Engine
This is Rietveld 408576698