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

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

Issue 148233006: drive: Use UploadNewFile from EntryUpdatePerformer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 6 years, 11 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.h
diff --git a/chrome/browser/chromeos/drive/sync/entry_update_performer.h b/chrome/browser/chromeos/drive/sync/entry_update_performer.h
index b09a877b9f9a5ed3344ff3bf55366f54f05090d2..a4a273552f88b45e7783a8433c7596164eb304da 100644
--- a/chrome/browser/chromeos/drive/sync/entry_update_performer.h
+++ b/chrome/browser/chromeos/drive/sync/entry_update_performer.h
@@ -13,6 +13,7 @@
#include "google_apis/drive/gdata_errorcode.h"
namespace base {
+class ScopedClosureRunner;
class SequencedTaskRunner;
} // namespace base
@@ -32,6 +33,7 @@ class OperationObserver;
namespace internal {
+class ChangeListLoader;
class EntryRevertPerformer;
class FileCache;
class RemovePerformer;
@@ -44,7 +46,8 @@ class EntryUpdatePerformer {
file_system::OperationObserver* observer,
JobScheduler* scheduler,
ResourceMetadata* metadata,
- FileCache* cache);
+ FileCache* cache,
+ ChangeListLoader* change_list_loader);
~EntryUpdatePerformer();
// Requests the server to update the metadata of the entry specified by
@@ -69,6 +72,7 @@ class EntryUpdatePerformer {
const ClientContext& context,
const FileOperationCallback& callback,
const std::string& local_id,
+ scoped_ptr<base::ScopedClosureRunner> change_list_loader_lock,
google_apis::GDataErrorCode status,
scoped_ptr<google_apis::ResourceEntry> resource_entry);
@@ -76,6 +80,7 @@ class EntryUpdatePerformer {
JobScheduler* scheduler_;
ResourceMetadata* metadata_;
FileCache* cache_;
+ ChangeListLoader* change_list_loader_;
scoped_ptr<RemovePerformer> remove_performer_;
scoped_ptr<EntryRevertPerformer> entry_revert_performer_;
« no previous file with comments | « chrome/browser/chromeos/drive/job_scheduler_unittest.cc ('k') | chrome/browser/chromeos/drive/sync/entry_update_performer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698