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

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: Add TODO 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
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/sync_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3256ca8f26afd44b4c0dc92267808119d6e3b118 100644
--- a/chrome/browser/sync/sync_prefs.h
+++ b/chrome/browser/sync/sync_prefs.h
@@ -95,9 +95,17 @@ 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);
+#if defined(OS_CHROMEOS)
+ // Use this spare bootstrap token only when setting up sync for the first
+ // time.
+ std::string GetSpareBootstrapToken() const;
+ void SetSpareBootstrapToken(const std::string& token);
+#endif
+
// InvalidationVersionTracker implementation.
virtual sync_notifier::InvalidationVersionMap
GetAllMaxVersions() const OVERRIDE;
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/sync_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698