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

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

Issue 305443004: Introduce HistoryClient interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@371825
Patch Set: Reupload with --no-find-copies Created 6 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 4e2e4618ace83510f79fcf4f3b3f2a71511d317d..36fd925e5940840d027187be9b040052339c51c3 100644
--- a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
@@ -51,7 +51,8 @@ namespace {
class HistoryMock : public HistoryService {
public:
- explicit HistoryMock(Profile* profile) : HistoryService(profile) {}
+ explicit HistoryMock(history::HistoryClient* client, Profile* profile)
+ : HistoryService(client, profile) {}
MOCK_METHOD0(BackendLoaded, bool(void));
protected:
@@ -81,7 +82,7 @@ KeyedService* BuildBookmarkModelWithoutLoading(
}
KeyedService* BuildHistoryService(content::BrowserContext* profile) {
- return new HistoryMock(static_cast<Profile*>(profile));
+ return new HistoryMock(NULL, static_cast<Profile*>(profile));
}
} // namespace
« no previous file with comments | « chrome/browser/history/history_service_factory.cc ('k') | chrome/browser/sync/profile_sync_service_typed_url_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698