OLD | NEW |
1 syntax = "proto3"; | 1 syntax = "proto3"; |
2 package traffic_annotation; | 2 package traffic_annotation; |
3 | 3 |
4 // TODO: include policies | 4 // TODO: include policies |
5 | 5 |
6 // Describes a specific kind of network traffic based on a fine-grained | 6 // Describes a specific kind of network traffic based on a fine-grained |
7 // semantic classification of all network traffic generated by Chrome. | 7 // semantic classification of all network traffic generated by Chrome. |
8 // Used for auditing purposes. | 8 // Used for auditing purposes. |
9 message NetworkTrafficAnnotation { | 9 message NetworkTrafficAnnotation { |
10 // This is a globally unique identifier that must stay unchanged while the | 10 // This is a globally unique identifier that must stay unchanged while the |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // NetworkTrafficAnnotations that had to go into a whitelist file because the | 152 // NetworkTrafficAnnotations that had to go into a whitelist file because the |
153 // source code could not be annotated (e.g. because it is in a third-party | 153 // source code could not be annotated (e.g. because it is in a third-party |
154 // library). | 154 // library). |
155 message WhitelistedNetworkTrafficAnnotations { | 155 message WhitelistedNetworkTrafficAnnotations { |
156 repeated NetworkTrafficAnnotation network_traffic_annotation = 1; | 156 repeated NetworkTrafficAnnotation network_traffic_annotation = 1; |
157 }; | 157 }; |
158 | 158 |
159 // All NetworkTrafficAnnotations from a Chromium configuration. | 159 // All NetworkTrafficAnnotations from a Chromium configuration. |
160 message NetworkTrafficAnnotations { | 160 message NetworkTrafficAnnotations { |
161 ExtractedNetworkTrafficAnnotation extracted_network_traffic_annotations = 1; | 161 ExtractedNetworkTrafficAnnotation extracted_network_traffic_annotations = 1; |
162 WhitelistedNetworkTrafficAnnotations whitelisted_network_traffic_annotations | 162 WhitelistedNetworkTrafficAnnotations whitelisted_network_traffic_annotations = |
163 = 2; | 163 2; |
164 }; | 164 }; |
OLD | NEW |