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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system.cc

Issue 10693109: Use Drive v2 API: enable behind --enable-drive-api flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove boolean use_drive_api Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gdata/gdata_file_system.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.cc b/chrome/browser/chromeos/gdata/gdata_file_system.cc
index e8e111c08ff3dc5ed77a8176a8d3d4367aa2bda0..377d9e744f0deca0fe04edeba0e0bbdfd4f065d4 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.cc
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.cc
@@ -915,7 +915,8 @@ void GDataFileSystem::OnGetAccountMetadata(
return;
}
- webapps_registry_->UpdateFromFeed(account_metadata.get());
+ if (!gdata::util::IsDriveV2ApiEnabled())
satorux1 2012/07/12 07:49:06 does this mean the webapps registry does not work
kochi 2012/07/13 10:33:52 I intend to separate a new DriveFileSystem class a
satorux1 2012/07/14 07:15:34 DriveFileSystem will likely share a lot of code wi
+ webapps_registry_->UpdateFromFeed(account_metadata.get());
bool changes_detected = true;
if (local_changestamp >= account_metadata->largest_changestamp()) {
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_operations.cc » ('j') | chrome/browser/chromeos/gdata/gdata_operations.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698