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

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

Issue 9956097: suppress user/password dialog when re-enabling sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve Nicolas's comments. Created 8 years, 9 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 b6bdfc111caf653fdddc8c60f4e0e49fa7605bae..9c4f555b4981a491b724f75ae2e92b7f768dfcb0 100644
--- a/chrome/browser/sync/sync_prefs.h
+++ b/chrome/browser/sync/sync_prefs.h
@@ -95,9 +95,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.
std::string GetEncryptionBootstrapToken() const;
void SetEncryptionBootstrapToken(const std::string& token);
+ // Use this spare bootstrap token only when setting up sync for the first
+ // time.
+ std::string GetSpareBootstrapToken() const;
Nicolas Zea 2012/04/03 23:47:20 Since the preference exists only on ChromeOS, thes
kochi 2012/04/04 00:10:20 Done.
+ void SetSpareBootstrapToken(const std::string& token);
+
// InvalidationVersionTracker implementation.
virtual sync_notifier::InvalidationVersionMap
GetAllMaxVersions() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698