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

Unified Diff: components/precache/core/proto/precache.proto

Issue 2614403003: Add revalidation_only option to precache config. (Closed)
Patch Set: Add Fetcher constructor parameter comments. 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
« no previous file with comments | « components/precache/core/precache_fetcher_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/precache/core/proto/precache.proto
diff --git a/components/precache/core/proto/precache.proto b/components/precache/core/proto/precache.proto
index f5124bcc2d3bcb8f288cd9fb93ec36895edd90e5..72bcc066029b9eb3cb9a9b8ad955b352b484ed52 100644
--- a/components/precache/core/proto/precache.proto
+++ b/components/precache/core/proto/precache.proto
@@ -105,4 +105,8 @@ message PrecacheConfigurationSettings {
// affects the fetcher's behavior with respect to max_bytes_total and
// total_resources_count.
optional bool global_ranking = 9 [default = false];
+
+ // If true, resource fetches are only made over the network for a given URL if
+ // an existing cache entry exists and has revalidation headers.
+ optional bool revalidation_only = 10 [default = false];
};
« no previous file with comments | « components/precache/core/precache_fetcher_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698