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

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

Issue 809313009: Make the SigninErrorController a PKS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Copyrighted: 2015 Created 5 years, 11 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_error_notifier_ash_unittest.cc
diff --git a/chrome/browser/signin/signin_error_notifier_ash_unittest.cc b/chrome/browser/signin/signin_error_notifier_ash_unittest.cc
index e49b489ec6f1a5a47605d58112ce3deb202a3f8f..2914ad77aa02c4b913f08b66728ed5907f3bcc32 100644
--- a/chrome/browser/signin/signin_error_notifier_ash_unittest.cc
+++ b/chrome/browser/signin/signin_error_notifier_ash_unittest.cc
@@ -10,7 +10,7 @@
#include "chrome/browser/notifications/notification.h"
#include "chrome/browser/notifications/notification_ui_manager.h"
#include "chrome/browser/signin/fake_signin_manager.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_error_notifier_factory_ash.h"
#include "chrome/browser/signin/signin_manager_factory.h"
#include "chrome/test/base/testing_browser_process.h"
@@ -84,9 +84,8 @@ class SigninErrorNotifierTest : public AshTestBase {
gfx::Screen::SetScreenTypeDelegate(new ScreenTypeDelegateDesktop);
#endif
- error_controller_ =
- ProfileOAuth2TokenServiceFactory::GetForProfile(profile_.get())->
- signin_error_controller();
+ error_controller_ = SigninErrorControllerFactory::GetForProfile(
+ profile_.get());
SigninErrorNotifierFactory::GetForProfile(profile_.get());
notification_ui_manager_ = g_browser_process->notification_ui_manager();
}

Powered by Google App Engine
This is Rietveld 408576698