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

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

Issue 162943002: Revert of [sync]: add ManagedUserSigninManagerWrapper and pass to ProfileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 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_;
« no previous file with comments | « chrome/browser/managed_mode/managed_user_signin_manager_wrapper.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698