Index: chrome/browser/sync/profile_sync_service.h |
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h |
index 016b03278362ec6598a62908445cdcc534435557..929d8bd81c1ab1c4386c0c75c31760f7c41f0189 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -303,6 +303,11 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
// for sensitive data types. |
virtual bool IsCryptographerReady() const; |
+ // Sets the Cryptographer's passphrase. This will check asynchronously whether |
+ // the passphrase is valid and notify ProfileSyncServiceObservers via the |
+ // NotificationService when the outcome is known. |
+ virtual void SetPassphrase(const std::string& passphrase); |
+ |
protected: |
// Used by ProfileSyncServiceMock only. |
// |