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

Unified Diff: chrome/browser/sync/glue/sync_backend_host.h

Issue 8356026: [Sync] Cache encrypted types info in ProfileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test failures Created 9 years, 2 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/glue/sync_backend_host.h
diff --git a/chrome/browser/sync/glue/sync_backend_host.h b/chrome/browser/sync/glue/sync_backend_host.h
index be1d88a8af0903c1ad0c983cb8d14ca0f1a3fc2b..6261bfd2c655308305e6936a353d76780ca388fd 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -91,7 +91,8 @@ class SyncFrontend {
virtual void OnPassphraseAccepted() = 0;
virtual void OnEncryptionComplete(
- const syncable::ModelTypeSet& encrypted_types) = 0;
+ const syncable::ModelTypeSet& encrypted_types,
+ bool encrypt_everything) = 0;
// Called to perform migration of |types|.
virtual void OnMigrationNeededForTypes(
@@ -290,9 +291,10 @@ class SyncBackendHost {
virtual void OnClearServerDataFailed() OVERRIDE;
virtual void OnClearServerDataSucceeded() OVERRIDE;
virtual void OnEncryptionComplete(
- const syncable::ModelTypeSet& encrypted_types);
+ const syncable::ModelTypeSet& encrypted_types,
+ bool encrypt_everything) OVERRIDE;
virtual void OnActionableError(
- const browser_sync::SyncProtocolError& sync_error);
+ const browser_sync::SyncProtocolError& sync_error) OVERRIDE;
struct DoInitializeOptions {
DoInitializeOptions(
@@ -447,8 +449,9 @@ class SyncBackendHost {
// Invoked when sync finishes encrypting new datatypes or has become aware
// of new datatypes requiring encryption.
- void NotifyEncryptionComplete(const syncable::ModelTypeSet&
- encrypted_types);
+ void NotifyEncryptionComplete(
+ const syncable::ModelTypeSet& encrypted_types,
+ bool encrypt_everything);
// Called from Core::OnSyncCycleCompleted to handle updating frontend
// thread components.
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | chrome/browser/sync/internal_api/sync_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698