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

Unified Diff: chrome/browser/sync_file_system/drive_file_sync_service.h

Issue 12744008: SyncFS: store disabled origins in DriveMetadataStore (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 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/sync_file_system/drive_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/drive_file_sync_service.h b/chrome/browser/sync_file_system/drive_file_sync_service.h
index 9f08c49a22ac5999aae611e3e105301563c43e74..33b3fbe7e9e918ff5ea26750de8395c31af9c089 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_service.h
+++ b/chrome/browser/sync_file_system/drive_file_sync_service.h
@@ -80,6 +80,12 @@ class DriveFileSyncService
virtual void UnregisterOriginForTrackingChanges(
const GURL& origin,
const SyncStatusCallback& callback) OVERRIDE;
+ virtual void EnableOriginForTrackingChanges(
+ const GURL& origin,
+ const SyncStatusCallback& callback) OVERRIDE;
+ virtual void DisableOriginForTrackingChanges(
+ const GURL& origin,
+ const SyncStatusCallback& callback) OVERRIDE;
virtual void DeleteOriginDirectory(
const GURL& origin,
const SyncStatusCallback& callback) OVERRIDE;
@@ -272,7 +278,7 @@ class DriveFileSyncService
void DidInitializeMetadataStore(scoped_ptr<TaskToken> token,
SyncStatusCode status,
bool created);
- void UnregisterInactiveExtensionsIds();
+ void UpdateRegisteredOrigins();
void GetSyncRootDirectory(scoped_ptr<TaskToken> token,
const ResourceIdCallback& callback);
@@ -309,7 +315,7 @@ class DriveFileSyncService
int64 largest_changestamp,
google_apis::GDataErrorCode error,
scoped_ptr<google_apis::ResourceList> feed);
- void DidRemoveOriginOnMetadataStore(
+ void DidChangeOriginOnMetadataStore(
scoped_ptr<TaskToken> token,
const SyncStatusCallback& callback,
SyncStatusCode status);

Powered by Google App Engine
This is Rietveld 408576698