Index: chrome/browser/sync/profile_sync_service.h |
=================================================================== |
--- chrome/browser/sync/profile_sync_service.h (revision 112644) |
+++ 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 |