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

Unified Diff: chrome/browser/signin/signin_manager.cc

Issue 192253002: Rename SigninManagerDelegate to SigninClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « chrome/browser/signin/signin_manager.h ('k') | chrome/browser/signin/signin_manager_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_manager.cc
diff --git a/chrome/browser/signin/signin_manager.cc b/chrome/browser/signin/signin_manager.cc
index 3781a788c6a7b9e1c21170e1a1d7ed3d804b49d8..0dcc5c95798c81798a2606ee4693f128d181b54e 100644
--- a/chrome/browser/signin/signin_manager.cc
+++ b/chrome/browser/signin/signin_manager.cc
@@ -28,8 +28,8 @@
#include "chrome/browser/ui/global_error/global_error_service_factory.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/profile_management_switches.h"
+#include "components/signin/core/signin_client.h"
#include "components/signin/core/signin_manager_cookie_helper.h"
-#include "components/signin/core/signin_manager_delegate.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/render_process_host.h"
@@ -82,14 +82,13 @@ bool SigninManager::IsWebBasedSigninFlowURL(const GURL& url) {
.find(kChromiumSyncService) != std::string::npos;
}
-SigninManager::SigninManager(scoped_ptr<SigninManagerDelegate> delegate)
+SigninManager::SigninManager(scoped_ptr<SigninClient> client)
: prohibit_signout_(false),
had_two_factor_error_(false),
type_(SIGNIN_TYPE_NONE),
weak_pointer_factory_(this),
signin_host_id_(ChildProcessHost::kInvalidUniqueID),
- delegate_(delegate.Pass()) {
-}
+ client_(client.Pass()) {}
void SigninManager::SetSigninProcess(int process_id) {
if (process_id == signin_host_id_)
« no previous file with comments | « chrome/browser/signin/signin_manager.h ('k') | chrome/browser/signin/signin_manager_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698