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

Unified Diff: chrome/browser/sync/profile_sync_service_autofill_unittest.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_autofill_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
index 232635fcec906caf28530705d355020a0cc85c93..61a069baea60def69c892b1bfcd0464527d43d05 100644
--- a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
@@ -294,7 +294,8 @@ class WebDataServiceFake : public AutofillWebDataService {
DISALLOW_COPY_AND_ASSIGN(WebDataServiceFake);
};
-ProfileKeyedService* BuildMockWebDataServiceWrapper(Profile* profile) {
+ProfileKeyedService* BuildMockWebDataServiceWrapper(
+ content::BrowserContext* profile) {
return new MockWebDataServiceWrapper(
new TokenWebDataServiceFake(),
new WebDataServiceFake());
@@ -406,7 +407,7 @@ class MockPersonalDataManager : public PersonalDataManager {
class MockPersonalDataManagerService
: public autofill::PersonalDataManagerService {
public:
- static ProfileKeyedService* Build(Profile* profile) {
+ static ProfileKeyedService* Build(content::BrowserContext* profile) {
return new MockPersonalDataManagerService();
}
« no previous file with comments | « chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc ('k') | chrome/browser/sync/profile_sync_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698