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

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

Issue 2184913005: Add calls to the server to request WebAPK updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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.cc
diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
index 65cf6ab38dbbc3c2ba49774730c99a2c7194b749..72ae6c9b2ba8ee601fb5cc9f738c348be33a62b8 100644
--- a/chrome/browser/android/shortcut_helper.cc
+++ b/chrome/browser/android/shortcut_helper.cc
@@ -165,7 +165,8 @@ void ShortcutHelper::AddShortcutInBackgroundWithSkBitmap(
java_bitmap.obj(), info.source);
}
-void ShortcutHelper::OnBuiltWebApk(bool success) {
+void ShortcutHelper::OnBuiltWebApk(bool success,
+ const std::string& webapk_package) {
if (success) {
LOG(ERROR) << "Sent request to install WebAPK. Seems to have worked.";
} else {

Powered by Google App Engine
This is Rietveld 408576698