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

Unified Diff: chrome/browser/android/webapk/webapk_update_manager.h

Issue 2409453002: Fix crash on WebAPK startup (Closed)
Patch Set: Merge branch 'master' into startup_crash0 Created 4 years, 2 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/webapk/webapk_update_manager.h
diff --git a/chrome/browser/android/webapk/webapk_update_manager.h b/chrome/browser/android/webapk/webapk_update_manager.h
index 11ae9033d972da369ffda3cab7ce5e98b9baa6d0..b6f37c7a80d9acada8fc57976c037ec8abf0cd79 100644
--- a/chrome/browser/android/webapk/webapk_update_manager.h
+++ b/chrome/browser/android/webapk/webapk_update_manager.h
@@ -17,11 +17,12 @@ class WebApkUpdateManager {
static bool Register(JNIEnv* env);
// Called after either a request to update the WebAPK has been sent, or the
- // update process fails.
- // |success| indicates whether the request was issued to the server. A "true"
- // value of |success| does not guarantee that the WebAPK will be successfully
- // updated.
- static void OnBuiltWebApk(bool success, const std::string& webapk_package);
+ // update process fails. |success| indicates whether the request was issued
+ // to the server. A "true" value of |success| does not guarantee that the
+ // WebAPK will be successfully updated.
+ static void OnBuiltWebApk(const std::string& id,
+ bool success,
+ const std::string& webapk_package);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(WebApkUpdateManager);
« no previous file with comments | « chrome/browser/android/webapk/webapk_installer.cc ('k') | chrome/browser/android/webapk/webapk_update_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698