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

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

Issue 872313005: Remove dependency on visitedlink from history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@init-prefs
Patch Set: Rebase Created 5 years, 10 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 2cd6cfb90d2066bd6d23a251e6e4057d16c1d190..f0d657846462bd46370411dc0c4e5eea74d8b4f4 100644
--- a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
@@ -51,12 +51,11 @@ namespace {
class HistoryMock : public HistoryService {
public:
- explicit HistoryMock(history::HistoryClient* client, Profile* profile)
- : HistoryService(client, profile) {}
+ HistoryMock() : HistoryService() {}
MOCK_METHOD0(BackendLoaded, bool(void));
protected:
- virtual ~HistoryMock() {}
+ ~HistoryMock() override {}
};
KeyedService* BuildChromeBookmarkClient(content::BrowserContext* context) {
@@ -87,7 +86,7 @@ KeyedService* BuildBookmarkModel(content::BrowserContext* context) {
}
KeyedService* BuildHistoryService(content::BrowserContext* profile) {
- return new HistoryMock(NULL, static_cast<Profile*>(profile));
+ return new HistoryMock;
}
} // namespace
« no previous file with comments | « chrome/browser/safe_browsing/malware_details_history.h ('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