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

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

Issue 6902101: Refactor sync passphrase setup flow and fix passphrase tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test. Created 9 years, 8 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 b5c2b707f698e081406a997c7cf158db4032fb0b..dea871fdae4917e131a5d68f4825b4a8dfcefe91 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -92,6 +92,10 @@ class SyncFrontend {
// encrypted using the accepted passphrase.
virtual void OnPassphraseAccepted() = 0;
+ // The syncer has attempted to set a passphrase, but failed to decrypt the
+ // cryptographer's pending keys. A new passphrase is required.
+ virtual void OnPassphraseFailed() = 0;
tim (not reviewing) 2011/04/28 17:13:53 This is what OnPassphraseRequired is for above...
Raghu Simha 2011/04/28 17:44:21 ProfileSyncServiceHarness::OnStateChanged is calle
+
virtual void OnEncryptionComplete(
const syncable::ModelTypeSet& encrypted_types) = 0;
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | chrome/browser/sync/profile_sync_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698