Index: chrome/browser/android/webapk/webapk_installer.h |
diff --git a/chrome/browser/android/webapk/webapk_installer.h b/chrome/browser/android/webapk/webapk_installer.h |
index d47d75228d539b788b2933098541c2cca742e5b2..b3d8176b59f48d54b50328930d6b340117334229 100644 |
--- a/chrome/browser/android/webapk/webapk_installer.h |
+++ b/chrome/browser/android/webapk/webapk_installer.h |
@@ -43,7 +43,9 @@ class WebApkInstaller : public net::URLFetcherDelegate { |
// Parameters: |
// - whether the process succeeds. |
// - the package name of the WebAPK. |
- using FinishCallback = base::Callback<void(bool, const std::string&)>; |
+ // - true if Chrome received a "request updates less frequently" directive |
+ // from the WebAPK server. |
+ using FinishCallback = base::Callback<void(bool, bool, const std::string&)>; |
~WebApkInstaller() override; |
@@ -270,6 +272,9 @@ class WebApkInstaller : public net::URLFetcherDelegate { |
// WebAPK package name. |
std::string webapk_package_; |
+ // Whether the server wants the WebAPK to request updates less frequently. |
+ bool relax_updates_; |
+ |
// WebAPK version code. |
int webapk_version_; |