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

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

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for review Created 7 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 d4fc77e8ce980417353e9160de2b30223edc466b..c3334b7d263094c5a3b66bfda9a3f6004a634af6 100644
--- a/chrome/test/base/chrome_render_view_host_test_harness.cc
+++ b/chrome/test/base/chrome_render_view_host_test_harness.cc
@@ -35,7 +35,9 @@ RenderViewHostTester* ChromeRenderViewHostTestHarness::rvh_tester() {
return RenderViewHostTester::For(rvh());
}
-static ProfileKeyedService* BuildSigninManagerFake(Profile* profile) {
+static ProfileKeyedService* BuildSigninManagerFake(
+ content::BrowserContext* context) {
+ Profile* profile = static_cast<Profile*>(context);
#if defined (OS_CHROMEOS)
return new FakeSigninManagerBase(profile);
#else

Powered by Google App Engine
This is Rietveld 408576698