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

Unified Diff: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h

Issue 96293002: SyncFS: Drop priority field from RemoteToLocalSyncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
diff --git a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
index 228ee99094532fd5091ac6f56c6b268319db85dd..91a1953fc8fb162a2416875714ccee018069e782 100644
--- a/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
+++ b/chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.h
@@ -41,16 +41,9 @@ class SyncEngineContext;
class RemoteToLocalSyncer : public SyncTask {
public:
- enum Priority {
- PRIORITY_NORMAL = 1 << 0,
- PRIORITY_LOW = 1 << 1,
- };
-
- // |priorities| must be a bitwise-or'd value of Priority.
// Conflicting trackers will have low priority for RemoteToLocalSyncer so that
// it should be resolved by LocatToRemoteSyncer.
- RemoteToLocalSyncer(SyncEngineContext* sync_context,
- int priorities);
+ explicit RemoteToLocalSyncer(SyncEngineContext* sync_context);
virtual ~RemoteToLocalSyncer();
virtual void Run(const SyncStatusCallback& callback) OVERRIDE;
@@ -196,7 +189,6 @@ class RemoteToLocalSyncer : public SyncTask {
SyncEngineContext* sync_context_; // Not owned.
- int priorities_;
scoped_ptr<FileTracker> dirty_tracker_;
scoped_ptr<FileMetadata> remote_metadata_;
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_backend/remote_to_local_syncer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698