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

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

Issue 15024007: Eliminate BrowserProcess dependency from sign-in production code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge LKGR Created 7 years, 7 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/signin/signin_manager_factory.cc
diff --git a/chrome/browser/signin/signin_manager_factory.cc b/chrome/browser/signin/signin_manager_factory.cc
index ef8a29e8153ae188b9daa9c688827232f940effa..891a81359bccc41bfb1ee9c57b232d2618164c05 100644
--- a/chrome/browser/signin/signin_manager_factory.cc
+++ b/chrome/browser/signin/signin_manager_factory.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/signin/signin_manager_factory.h"
#include "base/prefs/pref_registry_simple.h"
+#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile_dependency_manager.h"
#include "chrome/browser/signin/chrome_signin_manager_delegate.h"
#include "chrome/browser/signin/signin_manager.h"
@@ -96,6 +97,6 @@ ProfileKeyedService* SigninManagerFactory::BuildServiceInstanceFor(
scoped_ptr<SigninManagerDelegate>(
new ChromeSigninManagerDelegate(profile)));
#endif
- service->Initialize(profile);
+ service->Initialize(profile, g_browser_process->local_state());
return service;
}
« no previous file with comments | « chrome/browser/signin/signin_manager_cookie_helper.cc ('k') | chrome/browser/signin/signin_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698