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

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

Issue 2686543002: Add "usages" field to Image in WebApk.proto (Closed)
Patch Set: Addressing comments Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/webapk/webapk.proto
diff --git a/chrome/browser/android/webapk/webapk.proto b/chrome/browser/android/webapk/webapk.proto
index 05615266b6673f476a9457578ac0f929d1ffcd51..b53e1a3253971c6ae75c0d5b8395c919420b36bc 100644
--- a/chrome/browser/android/webapk/webapk.proto
+++ b/chrome/browser/android/webapk/webapk.proto
@@ -71,6 +71,12 @@ message WebAppManifest {
}
message Image {
+
+ enum Usage {
+ PRIMARY_ICON = 1;
+ BADGE_ICON = 2;
+ }
+
// Image's URL.
optional string src = 1;
@@ -82,5 +88,8 @@ message Image {
// image and may not match the murmur2 hash field above.
optional bytes image_data = 6;
- reserved 2 to 4;
+ // Specifies Chrome's intended usages for the image.
+ repeated Usage usages = 8;
+
+ reserved 2, 3, 4, 7;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698