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(); |
+ |
// 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_; |