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

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

Issue 2641973003: Implement server-suggested update check backoff (Closed)
Patch Set: Created 3 years, 11 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 b6f37c7a80d9acada8fc57976c037ec8abf0cd79..a1f5831fcd8a5b665360f579bfe53975ef7d83de 100644
--- a/chrome/browser/android/webapk/webapk_update_manager.h
+++ b/chrome/browser/android/webapk/webapk_update_manager.h
@@ -7,6 +7,7 @@
#include "base/android/jni_android.h"
#include "base/macros.h"
+#include "chrome/browser/android/webapk/webapk_install_service.h"
// WebApkUpdateManager is the C++ counterpart of org.chromium.chrome.browser's
// WebApkUpdateManager in Java. It calls WebApkInstaller to send an update
@@ -20,9 +21,10 @@ class WebApkUpdateManager {
// 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);
+ static void OnBuiltWebApk(
+ const std::string& id,
+ bool success,
+ const WebApkInstallService::FinishCallbackData& data);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(WebApkUpdateManager);

Powered by Google App Engine
This is Rietveld 408576698