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

Unified Diff: chrome/browser/sync/test_profile_sync_service.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
Index: chrome/browser/sync/test_profile_sync_service.cc
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc
index 71f2a3d9c7b3c1618ddd8cacea1f37b5241897d9..0ea5c31aaf8e3fcf10c1b342c39dee801619a2f5 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -228,7 +228,8 @@ TestProfileSyncService::~TestProfileSyncService() {
// static
ProfileKeyedService* TestProfileSyncService::BuildAutoStartAsyncInit(
- Profile* profile) {
+ content::BrowserContext* context) {
+ Profile* profile = static_cast<Profile*>(context);
SigninManagerBase* signin =
SigninManagerFactory::GetForProfile(profile);
ProfileSyncComponentsFactoryMock* factory =
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.h ('k') | chrome/browser/sync_file_system/sync_file_system_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698