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

Unified Diff: chrome/browser/android/webapk/webapk.proto

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.proto
diff --git a/chrome/browser/android/webapk/webapk.proto b/chrome/browser/android/webapk/webapk.proto
index ce003361ae1563a8413344fb5f3336488e51cf57..462c4078c7a90e527f9ae91cb24f8c2948b47b0c 100644
--- a/chrome/browser/android/webapk/webapk.proto
+++ b/chrome/browser/android/webapk/webapk.proto
@@ -27,7 +27,14 @@ message WebApkResponse {
// Unique id identifying session with WebAPK server.
optional string token = 6;
- reserved 4, 5;
+ // If true, this directs the client to check for updates less frequently than
+ // normal. This flag may be used, for example, if the WAM server knows that
+ // the client has an up-to-date WebAPK, but the client is unable to determine
+ // that for itself. Therefore, we want the client to back off from spamming
+ // update requests too often.
+ optional bool infrequent_updates = 8;
+
+ reserved 4, 5, 7;
}
// Sent as part of request to create or update a WebAPK.

Powered by Google App Engine
This is Rietveld 408576698