Index: chrome/browser/android/shortcut_helper.h |
diff --git a/chrome/browser/android/shortcut_helper.h b/chrome/browser/android/shortcut_helper.h |
index 12e47931b41aa571f7a0e4904815b429a373982d..4dcbcb131b3a3bded4415c27aa9ac6b57b14e370 100644 |
--- a/chrome/browser/android/shortcut_helper.h |
+++ b/chrome/browser/android/shortcut_helper.h |
@@ -53,6 +53,13 @@ class ShortcutHelper { |
static void StoreWebappData(const std::string& webapp_id, |
const SkBitmap& splash_image); |
+ // Modify the given icon to matche the launcher requirements, then returns the |
+ // new icon. It might generate an entirely new icon, in which case, |
+ // |is_generated| will be set to |true|. |
+ static SkBitmap FinalizeLauncherIcon(const SkBitmap& icon, |
+ const GURL& url, |
+ bool* is_generated); |
+ |
private: |
ShortcutHelper() = delete; |
~ShortcutHelper() = delete; |