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

Unified Diff: chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/glue/bookmark_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
index 2af216dfc209818a1e34ebf4109806911e08b78a..3cc9e0039070e78ad14b5354df1746731f55fde5 100644
--- a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
@@ -54,19 +54,19 @@ class HistoryMock : public HistoryService {
virtual ~HistoryMock() {}
};
-ProfileKeyedService* BuildBookmarkModel(content::BrowserContext* context) {
+BrowserContextKeyedService* BuildBookmarkModel(content::BrowserContext* context) {
tfarina 2013/05/22 00:28:03 indentation.
Profile* profile = static_cast<Profile*>(context);
BookmarkModel* bookmark_model = new BookmarkModel(profile);
bookmark_model->Load(profile->GetIOTaskRunner());
return bookmark_model;
}
-ProfileKeyedService* BuildBookmarkModelWithoutLoading(
+BrowserContextKeyedService* BuildBookmarkModelWithoutLoading(
content::BrowserContext* profile) {
return new BookmarkModel(static_cast<Profile*>(profile));
}
-ProfileKeyedService* BuildHistoryService(content::BrowserContext* profile) {
+BrowserContextKeyedService* BuildHistoryService(content::BrowserContext* profile) {
return new HistoryMock(static_cast<Profile*>(profile));
}

Powered by Google App Engine
This is Rietveld 408576698