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

Side by Side Diff: tools/traffic_annotation/traffic_annotation.proto

Issue 2448133006: Tool added to extract network traffic annotations. (Closed)
Patch Set: Created 4 years, 1 month 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 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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698