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

Side by Side Diff: chrome/browser/android/webapk/webapk.proto

Issue 2528073002: Add a flag in WebAPK's proto when the Web App Manifest is no longer available. (Closed)
Patch Set: Renaming. Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package webapk; 9 package webapk;
10 10
(...skipping 30 matching lines...) Expand all
41 41
42 // Chrome's version. 42 // Chrome's version.
43 optional string requester_application_version = 6; 43 optional string requester_application_version = 6;
44 44
45 // The Web App Manifest. 45 // The Web App Manifest.
46 optional WebAppManifest manifest = 7; 46 optional WebAppManifest manifest = 7;
47 47
48 // The cpu abi of the browser making the request. 48 // The cpu abi of the browser making the request.
49 optional string android_abi = 8; 49 optional string android_abi = 8;
50 50
51 // If set true, this flag indicates that the Web App Manifest of the site is
52 // no longer available.
53 optional bool stale_manifest = 9;
54
51 reserved 4; 55 reserved 4;
52 } 56 }
53 57
54 // Contains data from the Web App Manifest. 58 // Contains data from the Web App Manifest.
55 message WebAppManifest { 59 message WebAppManifest {
56 optional string name = 1; 60 optional string name = 1;
57 optional string short_name = 2; 61 optional string short_name = 2;
58 optional string start_url = 4; 62 optional string start_url = 4;
59 repeated string scopes = 5; 63 repeated string scopes = 5;
60 repeated Image icons = 6; 64 repeated Image icons = 6;
(...skipping 12 matching lines...) Expand all
73 // Murmur2 hash of the icon's bytes. There should not be any transformations 77 // Murmur2 hash of the icon's bytes. There should not be any transformations
74 // applied to the icon's bytes prior to taking the Murmur2 hash. 78 // applied to the icon's bytes prior to taking the Murmur2 hash.
75 optional string hash = 5; 79 optional string hash = 5;
76 80
77 // Actual bytes of the image. This image may be re-encoded from the original 81 // Actual bytes of the image. This image may be re-encoded from the original
78 // image and may not match the murmur2 hash field above. 82 // image and may not match the murmur2 hash field above.
79 optional bytes image_data = 6; 83 optional bytes image_data = 6;
80 84
81 reserved 2 to 4; 85 reserved 2 to 4;
82 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698