Chromium Code Reviews| Index: chrome/browser/android/banners/app_banner_data_fetcher_android.cc |
| diff --git a/chrome/browser/android/banners/app_banner_data_fetcher_android.cc b/chrome/browser/android/banners/app_banner_data_fetcher_android.cc |
| index 29934f4639ed049f4990b7adc31df8e8b992cf03..3fcca442378621a34bbfb4ebda05a8b723842b04 100644 |
| --- a/chrome/browser/android/banners/app_banner_data_fetcher_android.cc |
| +++ b/chrome/browser/android/banners/app_banner_data_fetcher_android.cc |
| @@ -5,6 +5,7 @@ |
| #include "chrome/browser/android/banners/app_banner_data_fetcher_android.h" |
| #include "chrome/browser/android/banners/app_banner_infobar_delegate_android.h" |
| +#include "chrome/browser/infobars/infobar_service.h" |
| #include "chrome/browser/ui/android/infobars/app_banner_infobar_android.h" |
| #include "third_party/skia/include/core/SkBitmap.h" |
| @@ -66,6 +67,8 @@ infobars::InfoBar* AppBannerDataFetcherAndroid::CreateBanner( |
| if (infobar) |
| RecordDidShowBanner("AppBanner.NativeApp.Shown"); |
| } |
| + InfoBarService::FromWebContents(web_contents) |
| + ->AddInfoBar(make_scoped_ptr(infobar)); |
| return infobar; |
|
benwells
2015/06/02 05:53:35
Is there any reason to return infobar now? It feel
dominickn (DO NOT USE)
2015/06/02 06:51:32
Done.
|
| } |