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

Unified Diff: chrome/browser/ui/omnibox/omnibox_view_browsertest.cc

Issue 242693003: Introduce BookmarkClient interface to abstract embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/ui/omnibox/omnibox_view_browsertest.cc
diff --git a/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc b/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
index 76bb642cfc9b82ef9dd1d0de39914c5ec809db3c..378ce761d5ed2047e12ddcbf40c07a3afa1b4665 100644
--- a/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
+++ b/chrome/browser/ui/omnibox/omnibox_view_browsertest.cc
@@ -286,8 +286,11 @@ class OmniboxViewTest : public InProcessBrowserTest,
entry.visit_count,
entry.typed_count, time, false,
history::SOURCE_BROWSED);
- if (entry.starred)
- bookmark_utils::AddIfNotBookmarked(bookmark_model, url, base::string16());
+ if (entry.starred) {
+ bookmark_utils::AddIfNotBookmarked(
+ bookmark_model, bookmark_model, url, base::string16());
+ }
+
// Wait at least for the AddPageWithDetails() call to finish.
{
content::NotificationRegistrar registrar;

Powered by Google App Engine
This is Rietveld 408576698