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

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: trybots 2 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
« no previous file with comments | « chrome/browser/webdata/web_data_service_factory.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/browser/webdata/web_data_service_factory.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698