| Index: chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h
|
| diff --git a/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h b/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h
|
| index b3927ecc2869a6dc9e9537976e7af2782a882ae1..173b45fca46414b41e825734e18081bd35dbe24c 100644
|
| --- a/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h
|
| +++ b/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h
|
| @@ -41,8 +41,11 @@ class AddToHomescreenDataFetcher
|
| virtual void OnUserTitleAvailable(const base::string16& title) = 0;
|
|
|
| // Converts the icon into one that can be used on the Android Home screen.
|
| + // |is_generated| is an out-param that indicates whether the icon was
|
| + // generated by Chrome.
|
| virtual SkBitmap FinalizeLauncherIcon(const SkBitmap& icon,
|
| - const GURL& url) = 0;
|
| + const GURL& url,
|
| + bool* is_generated) = 0;
|
|
|
| // Called when all the data needed to create a shortcut is available.
|
| virtual void OnDataAvailable(const ShortcutInfo& info,
|
| @@ -95,7 +98,7 @@ class AddToHomescreenDataFetcher
|
| void OnManifestIconFetched(const SkBitmap& icon);
|
|
|
| // Notifies the observer that the shortcut data is all available.
|
| - void NotifyObserver(const SkBitmap& icon);
|
| + void NotifyObserver(const SkBitmap& icon, bool is_generated);
|
|
|
| Observer* weak_observer_;
|
|
|
|
|