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

Unified Diff: chrome/browser/sync/sync_prefs.h

Issue 10540149: [Sync] Persist keystore key across restarts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/browser/sync/sync_prefs.h
diff --git a/chrome/browser/sync/sync_prefs.h b/chrome/browser/sync/sync_prefs.h
index cecd20865fb6f382bd511f0ff5c299dd6dbd8a60..a633be42e95e68ed03e287db4bd0c05698baa662 100644
--- a/chrome/browser/sync/sync_prefs.h
+++ b/chrome/browser/sync/sync_prefs.h
@@ -94,10 +94,15 @@ class SyncPrefs : public base::SupportsWeakPtr<SyncPrefs>,
// This pref is set outside of sync.
bool IsManaged() const;
- // Use this encryption bootstrap token once already syncing.
+ // Use this encryption bootstrap token if we're using an explicit passphrase.
std::string GetEncryptionBootstrapToken() const;
void SetEncryptionBootstrapToken(const std::string& token);
+ // Use this keystore bootstrap token if we're not using an explicit
+ // passphrase.
+ std::string GetKeystoreEncryptionBootstrapToken() const;
+ void SetKeystoreEncryptionBootstrapToken(const std::string& token);
+
#if defined(OS_CHROMEOS)
// Use this spare bootstrap token only when setting up sync for the first
// time.

Powered by Google App Engine
This is Rietveld 408576698