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

Unified Diff: chrome/test/base/chrome_render_view_host_test_harness.cc

Issue 964563002: Replace SetAuthenticatedUsername with SetAuthenticatedAccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@priv
Patch Set: rebased Created 5 years, 8 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/test/base/chrome_render_view_host_test_harness.cc
diff --git a/chrome/test/base/chrome_render_view_host_test_harness.cc b/chrome/test/base/chrome_render_view_host_test_harness.cc
index 8a76f35ca0041c251710e6e8704bbb2bfbeed840..ca3dce92ad3fd89f4fdacd96c262b0411835c261 100644
--- a/chrome/test/base/chrome_render_view_host_test_harness.cc
+++ b/chrome/test/base/chrome_render_view_host_test_harness.cc
@@ -3,8 +3,8 @@
// found in the LICENSE file.
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
-
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/signin/account_tracker_service_factory.h"
#include "chrome/browser/signin/chrome_signin_client_factory.h"
#include "chrome/browser/signin/fake_signin_manager.h"
#include "chrome/browser/signin/signin_manager_factory.h"
@@ -36,7 +36,8 @@ static KeyedService* BuildSigninManagerFake(content::BrowserContext* context) {
Profile* profile = static_cast<Profile*>(context);
#if defined (OS_CHROMEOS)
SigninManagerBase* signin = new SigninManagerBase(
- ChromeSigninClientFactory::GetInstance()->GetForProfile(profile));
+ ChromeSigninClientFactory::GetInstance()->GetForProfile(profile),
+ AccountTrackerServiceFactory::GetInstance()->GetForProfile(profile));
signin->Initialize(NULL);
return signin;
#else

Powered by Google App Engine
This is Rietveld 408576698