Index: chrome/browser/sync/engine/syncapi.h |
diff --git a/chrome/browser/sync/engine/syncapi.h b/chrome/browser/sync/engine/syncapi.h |
index ce18184dccf6ae73e284fa1b1f94a2a1768d9b29..211ce6cc9c55bc9017ce1086f338e1dddd5728bb 100644 |
--- a/chrome/browser/sync/engine/syncapi.h |
+++ b/chrome/browser/sync/engine/syncapi.h |
@@ -1034,6 +1034,13 @@ class SyncManager { |
UserShare* GetUserShare() const; |
+ // Inform the cryptographer of the most recent passphrase and set of encrypted |
+ // types (from nigori node), then ensure all data that needs encryption is |
+ // encrypted with the appropriate passphrase. |
+ // Note: opens a transaction and can trigger ON_PASSPHRASE_REQUIRED, so must |
+ // only be called after syncapi has been initialized. |
+ void RefreshEncryption(); |
+ |
syncable::ModelTypeSet GetEncryptedDataTypes() const; |
// Uses a read-only transaction to determine if the directory being synced has |