Index: components/precache/core/proto/precache.proto |
diff --git a/components/precache/core/proto/precache.proto b/components/precache/core/proto/precache.proto |
index d0bebd2690d031400bfbdf0979361c815a604460..5b987e2a0edc02ab552ca1f11f94457b707dbb43 100644 |
--- a/components/precache/core/proto/precache.proto |
+++ b/components/precache/core/proto/precache.proto |
@@ -20,6 +20,12 @@ message PrecacheResource { |
// How important this resource is for the host. It ranges from 0.0 to 1.0. |
// Higher values mean more important. |
optional double weight_ratio = 3; |
+ |
+ // How important this resource is for the client; a combination of |
+ // weight_ratio and TopHost.visits. Populated only in PrecacheUnfinishedWork. |
+ // This is a non-negative number, with higher being more important. Its value |
+ // depends on PrecacheConfigurationSettings.resource_weight_function. |
+ optional double weight = 4; |
}; |
message PrecacheManifestId { |