 Chromium Code Reviews
 Chromium Code Reviews Issue 6902101:
  Refactor sync passphrase setup flow and fix passphrase tests  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 6902101:
  Refactor sync passphrase setup flow and fix passphrase tests  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| 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; |