| Index: chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
|
| diff --git a/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc b/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
|
| index 2dea7aa3a00b0457d742b1b3fc685e6c50b030e1..58eaad913ae91225c13f48165d4cc98fc032a2ad 100644
|
| --- a/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
|
| +++ b/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
|
| @@ -100,13 +100,6 @@ AddToHomescreenDataFetcher::AddToHomescreenDataFetcher(
|
| Send(new ChromeViewMsg_GetWebApplicationInfo(routing_id()));
|
| }
|
|
|
| -base::Closure AddToHomescreenDataFetcher::FetchSplashScreenImageCallback(
|
| - const std::string& webapp_id) {
|
| - return base::Bind(&ShortcutHelper::FetchSplashScreenImage, web_contents(),
|
| - splash_screen_url_, ideal_splash_image_size_in_px_,
|
| - minimum_splash_image_size_in_px_, webapp_id);
|
| -}
|
| -
|
| void AddToHomescreenDataFetcher::OnDidGetWebApplicationInfo(
|
| const WebApplicationInfo& received_web_app_info) {
|
| is_waiting_for_web_application_info_ = false;
|
| @@ -244,10 +237,13 @@ void AddToHomescreenDataFetcher::OnDidPerformInstallableCheck(
|
| }
|
|
|
| // Save the splash screen URL for the later download.
|
| - splash_screen_url_ = ManifestIconSelector::FindBestMatchingIcon(
|
| + shortcut_info_.splash_image_url = ManifestIconSelector::FindBestMatchingIcon(
|
| data.manifest.icons, ideal_splash_image_size_in_px_,
|
| minimum_splash_image_size_in_px_,
|
| content::Manifest::Icon::IconPurpose::ANY);
|
| + shortcut_info_.ideal_splash_image_size_in_px = ideal_splash_image_size_in_px_;
|
| + shortcut_info_.minimum_splash_image_size_in_px =
|
| + minimum_splash_image_size_in_px_;
|
|
|
| weak_observer_->OnUserTitleAvailable(shortcut_info_.user_title);
|
|
|
|
|