Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: chrome/browser/android/shortcut_helper.h

Issue 2206493002: Update WebAPK if homescreen icon changed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'webapk_updater_images0' into webapk_updater_images2 Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/shortcut_helper.h
diff --git a/chrome/browser/android/shortcut_helper.h b/chrome/browser/android/shortcut_helper.h
index bd7f0c4cdbb51ebf8fe97c7b3101f0af88aee0d4..590a4bec1d980ea31665c1ee60a64c3c0a3078b1 100644
--- a/chrome/browser/android/shortcut_helper.h
+++ b/chrome/browser/android/shortcut_helper.h
@@ -73,6 +73,12 @@ class ShortcutHelper {
// screen.
static int GetMinimumSplashImageSizeInDp();
+ // Called when the homescreen image fetch initiated in FetchHomescreenImage()
+ // completes.
+ static void OnFetchedHomescreenImage(
+ const base::android::ScopedJavaGlobalRef<jobject> j_callback,
Xi Han 2016/08/10 15:49:19 java_callback?
pkotwicz 2016/08/10 19:03:47 Done.
+ const SkBitmap& image);
+
// Fetches the splash screen image and stores it inside the WebappDataStorage
// of the webapp. The WebappDataStorage object *must* have been previously
// created by |AddShortcutInBackgroundWithSkBitmap|; this method should be

Powered by Google App Engine
This is Rietveld 408576698