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

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: Nits. 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 27 matching lines...) Expand all
38 38
39 // Chrome's version. 39 // Chrome's version.
40 optional string requester_application_version = 6; 40 optional string requester_application_version = 6;
41 41
42 // The Web App Manifest. 42 // The Web App Manifest.
43 optional WebAppManifest manifest = 7; 43 optional WebAppManifest manifest = 7;
44 44
45 // The cpu abi of the browser making the request. 45 // The cpu abi of the browser making the request.
46 optional string android_abi = 8; 46 optional string android_abi = 8;
47 47
48 // If set true, this flag indicates that the Web App Manifest of the site is
49 // no longer avaialbe.
50 optional bool stale_manifest = 9;
51
48 reserved 4; 52 reserved 4;
49 } 53 }
50 54
51 // Contains data from the Web App Manifest. 55 // Contains data from the Web App Manifest.
52 message WebAppManifest { 56 message WebAppManifest {
53 optional string name = 1; 57 optional string name = 1;
54 optional string short_name = 2; 58 optional string short_name = 2;
55 optional string start_url = 4; 59 optional string start_url = 4;
56 repeated string scopes = 5; 60 repeated string scopes = 5;
57 repeated Image icons = 6; 61 repeated Image icons = 6;
(...skipping 12 matching lines...) Expand all
70 // Murmur2 hash of the icon's bytes. There should not be any transformations 74 // Murmur2 hash of the icon's bytes. There should not be any transformations
71 // applied to the icon's bytes prior to taking the Murmur2 hash. 75 // applied to the icon's bytes prior to taking the Murmur2 hash.
72 optional string hash = 5; 76 optional string hash = 5;
73 77
74 // Actual bytes of the image. This image may be re-encoded from the original 78 // Actual bytes of the image. This image may be re-encoded from the original
75 // image and may not match the murmur2 hash field above. 79 // image and may not match the murmur2 hash field above.
76 optional bytes image_data = 6; 80 optional bytes image_data = 6;
77 81
78 reserved 2 to 4; 82 reserved 2 to 4;
79 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698