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

Unified Diff: chrome/browser/chromeos/drive/sync/entry_update_performer.cc

Issue 1042803002: Drive: Move inner structures of DriveAPIService under drive namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests. Created 5 years, 9 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/drive/sync/entry_update_performer.cc
diff --git a/chrome/browser/chromeos/drive/sync/entry_update_performer.cc b/chrome/browser/chromeos/drive/sync/entry_update_performer.cc
index 0f8e069bb941ba7f8467452a1f88d68078571611..c77f3db3051b76bd3f4b7504c9fef1bb69439e0e 100644
--- a/chrome/browser/chromeos/drive/sync/entry_update_performer.cc
+++ b/chrome/browser/chromeos/drive/sync/entry_update_performer.cc
@@ -323,7 +323,7 @@ void EntryUpdatePerformer::UpdateEntryAfterPrepare(
// FinishUpdate() is responsible to resolve conflicts caused by this.
scoped_ptr<base::ScopedClosureRunner> null_loader_lock;
- DriveUploader::UploadNewFileOptions options;
+ UploadNewFileOptions options;
options.modified_date = last_modified;
options.last_viewed_by_me_date = last_accessed;
options.properties = properties;
@@ -339,7 +339,7 @@ void EntryUpdatePerformer::UpdateEntryAfterPrepare(
base::Passed(&local_state),
base::Passed(&null_loader_lock)));
} else {
- DriveUploader::UploadExistingFileOptions options;
+ UploadExistingFileOptions options;
options.title = local_state->entry.title();
options.parent_resource_id = local_state->parent_entry.resource_id();
options.modified_date = last_modified;
@@ -366,7 +366,7 @@ void EntryUpdatePerformer::UpdateEntryAfterPrepare(
scoped_ptr<base::ScopedClosureRunner> loader_lock =
loader_controller_->GetLock();
- DriveServiceInterface::AddNewDirectoryOptions options;
+ AddNewDirectoryOptions options;
options.modified_date = last_modified;
options.last_viewed_by_me_date = last_accessed;
options.properties = properties;

Powered by Google App Engine
This is Rietveld 408576698