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

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

Issue 8760019: Make the change in ProfileSyncService such that it declares success (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
===================================================================
--- chrome/browser/sync/profile_sync_service.h (revision 112357)
+++ chrome/browser/sync/profile_sync_service.h (working copy)
@@ -160,10 +160,14 @@
void RegisterAuthNotifications();
- // Return whether all sync tokens are loaded and
- // available for the backend to start up.
+ // Same as AreCredentialsAvailable(false).
bool AreCredentialsAvailable();
+ // Return whether all sync tokens are loaded and available for the backend to
+ // start up. Also checks for OAuth login token if |check_oauth_login_token| is
+ // true.
+ bool AreCredentialsAvailable(bool check_oauth_login_token);
+
// Registers a data type controller with the sync service. This
// makes the data type controller available for use, it does not
// enable or activate the synchronization of the data type (see
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | chrome/browser/sync/profile_sync_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698