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

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

Issue 184663002: Omnibox: Make URLs of Bookmarks Searchable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ALL_MATCHES (in response to recent changes) Created 6 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/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 73babc4d99342c109231b4ec97e8977dfe394464..91f0f1c8ec04a3c35b5a4ff0f89dcd2ee00a9d36 100644
--- a/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc
@@ -56,14 +56,14 @@ class HistoryMock : public HistoryService {
KeyedService* BuildBookmarkModel(content::BrowserContext* context) {
Profile* profile = static_cast<Profile*>(context);
- BookmarkModel* bookmark_model = new BookmarkModel(profile);
+ BookmarkModel* bookmark_model = new BookmarkModel(profile, false);
bookmark_model->Load(profile->GetIOTaskRunner());
return bookmark_model;
}
KeyedService* BuildBookmarkModelWithoutLoading(
content::BrowserContext* profile) {
- return new BookmarkModel(static_cast<Profile*>(profile));
+ return new BookmarkModel(static_cast<Profile*>(profile), false);
}
KeyedService* BuildHistoryService(content::BrowserContext* profile) {
« no previous file with comments | « chrome/browser/omnibox/omnibox_field_trial.cc ('k') | chrome/browser/ui/bookmarks/bookmark_editor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698