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 895d82ff6941b288e6d71ca17d3addcea18ee05e..e2d509be878d227fccd2b05ca666903f3233b628 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -48,7 +48,6 @@ |
#include "sync/js/sync_js_controller.h" |
#include "url/gurl.h" |
-class ManagedUserSigninManagerWrapper; |
class Profile; |
class ProfileOAuth2TokenService; |
class ProfileSyncComponentsFactory; |
@@ -260,10 +259,10 @@ |
// Sync server URL for dev channel users |
static const char* kDevServerUrl; |
- // Takes ownership of |factory| and |signin_wrapper|. |
+ // Takes ownership of |factory|. |
ProfileSyncService(ProfileSyncComponentsFactory* factory, |
Profile* profile, |
- ManagedUserSigninManagerWrapper* signin_wrapper, |
+ SigninManagerBase* signin, |
ProfileOAuth2TokenService* oauth2_token_service, |
StartBehavior start_behavior); |
virtual ~ProfileSyncService(); |
@@ -640,7 +639,7 @@ |
const GURL& sync_service_url() const { return sync_service_url_; } |
bool auto_start_enabled() const { return auto_start_enabled_; } |
- SigninManagerBase* signin() const; |
+ SigninManagerBase* signin() const { return signin_; } |
bool setup_in_progress() const { return setup_in_progress_; } |
// Stops the sync backend and sets the flag for suppressing sync startup. |
@@ -932,7 +931,7 @@ |
// Encapsulates user signin - used to set/get the user's authenticated |
// email address. |
- scoped_ptr<ManagedUserSigninManagerWrapper> signin_; |
+ SigninManagerBase* signin_; |
// Information describing an unrecoverable error. |
UnrecoverableErrorReason unrecoverable_error_reason_; |