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

Unified Diff: chrome/browser/sync/engine/syncapi.h

Issue 7148022: Reland 89038, but with a mocked out keychain (mac unit tests were timing out) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/sync/engine/syncapi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | chrome/browser/sync/engine/syncapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698