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

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: rebase 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_file_sync_service.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_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 f83f6275dd7d9db2595ac86134c671d76e9619eb..13cd1dc4c3ccfa81995c658d587e05690d4b34e6 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_service.h
+++ b/chrome/browser/sync_file_system/drive_file_sync_service.h
@@ -81,6 +81,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;
@@ -273,7 +279,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);
@@ -310,7 +316,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);
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_file_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698