Chromium Code Reviews| Index: chrome/browser/android/banners/app_banner_data_fetcher_android.h |
| diff --git a/chrome/browser/android/banners/app_banner_data_fetcher_android.h b/chrome/browser/android/banners/app_banner_data_fetcher_android.h |
| index 4858085f4c6fb92ce18011ed2e333c36ffaf4063..70f9aadf567a45228cf62049811fd4549dfb307e 100644 |
| --- a/chrome/browser/android/banners/app_banner_data_fetcher_android.h |
| +++ b/chrome/browser/android/banners/app_banner_data_fetcher_android.h |
| @@ -17,7 +17,8 @@ class AppBannerDataFetcherAndroid : public AppBannerDataFetcher { |
| AppBannerDataFetcherAndroid( |
| content::WebContents* web_contents, |
| base::WeakPtr<Delegate> weak_delegate, |
| - int ideal_icon_size); |
| + int ideal_splash_icon_size_in_dp, |
|
Lalit Maganti
2015/08/26 21:22:29
And here.
Lalit Maganti
2015/08/26 22:55:00
Done.
|
| + int ideal_icon_size_in_dp); |
| // Saves information about the Android app being promoted by the current page, |
| // then continues the creation pipeline. |
| @@ -26,6 +27,9 @@ class AppBannerDataFetcherAndroid : public AppBannerDataFetcher { |
| base::android::ScopedJavaLocalRef<jobject> app_data, |
| const GURL& image_url); |
| + // Fetches the splashscreen image and stores it in the WebappDataStorage. |
| + void FetchWebappSplashscreenImage(const std::string& webapp_id); |
| + |
| protected: |
| ~AppBannerDataFetcherAndroid() override; |
| @@ -40,6 +44,8 @@ class AppBannerDataFetcherAndroid : public AppBannerDataFetcher { |
| base::android::ScopedJavaGlobalRef<jobject> native_app_data_; |
| std::string native_app_package_; |
| + int ideal_splash_image_size_in_dp_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(AppBannerDataFetcherAndroid); |
| }; |