| Index: chrome/browser/ui/tab_helpers.cc
|
| diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
| index 2981c676900ba05bc351b550f60950b1ea2eb1a6..82dc39cfdfbec46374c9e89742407df16577cc3e 100644
|
| --- a/chrome/browser/ui/tab_helpers.cc
|
| +++ b/chrome/browser/ui/tab_helpers.cc
|
| @@ -53,6 +53,7 @@
|
| #include "content/public/browser/web_contents.h"
|
|
|
| #if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#include "chrome/browser/android/banners/app_banner_manager_android.h"
|
| #include "chrome/browser/android/data_usage/data_use_tab_helper.h"
|
| #include "chrome/browser/android/offline_pages/offline_page_tab_helper.h"
|
| #include "chrome/browser/android/offline_pages/recent_tab_helper.h"
|
| @@ -182,6 +183,7 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
| // --- Platform-specific tab helpers ---
|
|
|
| #if BUILDFLAG(ANDROID_JAVA_UI)
|
| + banners::AppBannerManagerAndroid::CreateForWebContents(web_contents);
|
| ContextMenuHelper::CreateForWebContents(web_contents);
|
| DataUseTabHelper::CreateForWebContents(web_contents);
|
|
|
| @@ -212,9 +214,8 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
| ThumbnailTabHelper::CreateForWebContents(web_contents);
|
| web_modal::WebContentsModalDialogManager::CreateForWebContents(web_contents);
|
|
|
| - if (banners::AppBannerManagerDesktop::IsEnabled()) {
|
| + if (banners::AppBannerManagerDesktop::IsEnabled())
|
| banners::AppBannerManagerDesktop::CreateForWebContents(web_contents);
|
| - }
|
| #endif
|
|
|
| // --- Feature tab helpers behind flags ---
|
|
|