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

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

Issue 9956097: suppress user/password dialog when re-enabling sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve Drew'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/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index 9806b165185f3907116903f97cfdc9a192db9731..83e7ea991d02f96c4025a1d1f3d9073f7955456a 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -483,6 +483,9 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
// Stops the sync backend and sets the flag for suppressing sync startup.
void StopAndSuppress();
+ // Resets the flag for suppressing sync startup.
+ void Unsuppress();
Andrew T Wilson (Slow) 2012/04/03 22:22:33 Is this needed? I think mostly people talk directl
kochi 2012/04/03 23:21:48 Reverted. On 2012/04/03 22:22:33, Andrew T Wilson
+
// Resets the flag for suppressing sync startup and starts the sync backend.
void UnsuppressAndStart();
@@ -617,6 +620,10 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
bool sync_everything,
const syncable::ModelTypeSet chosen_types) const;
+ // Refresh spare sync bootstrap token for re-enabling the sync service.
+ // Call this whenever user enters GAIA login password.
+ void RefreshSpareBootstrapToken(const std::string& passphrase);
+
// Factory used to create various dependent objects.
scoped_ptr<ProfileSyncComponentsFactory> factory_;

Powered by Google App Engine
This is Rietveld 408576698