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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc

Issue 2803293002: Create Bookmark Footnote desktop iOS promotion (Closed)
Patch Set: win only Created 3 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/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc
index 46b8fc0252f43055b268c787c46912705fd585d0..890715ec8eb30a041db88a23c476f9f95ce4a0a9 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view_browsertest.cc
@@ -15,6 +15,10 @@
#include "components/bookmarks/browser/bookmark_utils.h"
#include "components/bookmarks/test/bookmark_test_helpers.h"
+#if defined(OS_WIN)
+#include "chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h"
+#endif
+
namespace {
const char kTestBookmarkURL[] = "http://www.google.com";
@@ -71,7 +75,8 @@ class BookmarkBubbleViewBrowserTest : public DialogBrowserTest {
browser_view->toolbar()->location_bar()->star_view(), gfx::Rect(),
nullptr, nullptr, nullptr, profile_.get(), GURL(kTestBookmarkURL),
true);
- BookmarkBubbleView::bookmark_bubble()->ShowIOSPromotion();
+ BookmarkBubbleView::bookmark_bubble()->ShowIOSPromotion(
+ desktop_ios_promotion::PromotionEntryPoint::BOOKMARKS_BUBBLE);
#endif
}
}

Powered by Google App Engine
This is Rietveld 408576698