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

Unified Diff: chrome/browser/sync/profile_sync_service_mock.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/profile_sync_service_mock.cc
diff --git a/chrome/browser/sync/profile_sync_service_mock.cc b/chrome/browser/sync/profile_sync_service_mock.cc
index ce20e93722383c4b47a7458a9b041c8584374622..48f561f3ff14ce70f7b57c61bb32b98aa24bd044 100644
--- a/chrome/browser/sync/profile_sync_service_mock.cc
+++ b/chrome/browser/sync/profile_sync_service_mock.cc
@@ -36,6 +36,6 @@ TestingProfile* ProfileSyncServiceMock::MakeSignedInTestingProfile() {
// static
ProfileKeyedService* ProfileSyncServiceMock::BuildMockProfileSyncService(
- Profile* profile) {
- return new ProfileSyncServiceMock(profile);
+ content::BrowserContext* profile) {
+ return new ProfileSyncServiceMock(static_cast<Profile*>(profile));
}
« no previous file with comments | « chrome/browser/sync/profile_sync_service_mock.h ('k') | chrome/browser/sync/profile_sync_service_password_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698