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

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

Issue 1025323004: Show SigninErrorController username and status in AboutSigninInternals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chrome/browser/signin/about_signin_internals_factory.cc
diff --git a/chrome/browser/signin/about_signin_internals_factory.cc b/chrome/browser/signin/about_signin_internals_factory.cc
index 7174ffaf2fefe1737e62b97b0782e326646b01ee..b41b57fe92003c8f447503fc9eb5717f64103544 100644
--- a/chrome/browser/signin/about_signin_internals_factory.cc
+++ b/chrome/browser/signin/about_signin_internals_factory.cc
@@ -9,6 +9,7 @@
#include "chrome/browser/signin/account_tracker_service_factory.h"
#include "chrome/browser/signin/chrome_signin_client_factory.h"
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
+#include "chrome/browser/signin/signin_error_controller_factory.h"
#include "chrome/browser/signin/signin_manager_factory.h"
#include "chrome/common/pref_names.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
@@ -28,6 +29,7 @@ AboutSigninInternalsFactory::AboutSigninInternalsFactory()
DependsOn(ChromeSigninClientFactory::GetInstance());
DependsOn(ProfileOAuth2TokenServiceFactory::GetInstance());
DependsOn(SigninManagerFactory::GetInstance());
+ DependsOn(SigninErrorControllerFactory::GetInstance());
Roger Tawa OOO till Jul 10th 2015/03/25 15:41:55 nit: keep in alpha order.
anthonyvd 2015/03/26 15:49:58 Done.
}
AboutSigninInternalsFactory::~AboutSigninInternalsFactory() {}
@@ -82,7 +84,8 @@ KeyedService* AboutSigninInternalsFactory::BuildServiceInstanceFor(
AboutSigninInternals* service = new AboutSigninInternals(
ProfileOAuth2TokenServiceFactory::GetForProfile(profile),
AccountTrackerServiceFactory::GetForProfile(profile),
- SigninManagerFactory::GetForProfile(profile));
+ SigninManagerFactory::GetForProfile(profile),
+ SigninErrorControllerFactory::GetForProfile(profile));
service->Initialize(ChromeSigninClientFactory::GetForProfile(profile));
return service;
}

Powered by Google App Engine
This is Rietveld 408576698