OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 package userfeedback; | 7 package userfeedback; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 // A list of annotations. | 28 // A list of annotations. |
29 repeated Annotation annotation = 4; | 29 repeated Annotation annotation = 4; |
30 | 30 |
31 // The ID of the suggestion selected by the user. | 31 // The ID of the suggestion selected by the user. |
32 // Possible values: | 32 // Possible values: |
33 // - Not set if no suggestions were shown, either because the version of | 33 // - Not set if no suggestions were shown, either because the version of |
34 // the client did not support suggestions, suggestions were disabled or | 34 // the client did not support suggestions, suggestions were disabled or |
35 // no matching suggestions were found. | 35 // no matching suggestions were found. |
36 // - NONE_OF_THE_ABOVE if the user has chosen "None of the above". | 36 // - NONE_OF_THE_ABOVE if the user has chosen "None of the above". |
37 // - Empty string if suggestions were shown but the user hasn't chosen | 37 // - Empty string if suggestions were shown but the user hasn't chosen |
38 // any of them (and also she hasn't chosen "None of the above"). | 38 // any of them (and also they haven't chosen "None of the above"). |
39 // - Actual suggestion identifier as returned from the server. | 39 // - Actual suggestion identifier as returned from the server. |
40 optional string suggestion_id = 5; | 40 optional string suggestion_id = 5; |
41 | 41 |
42 repeated ProductSpecificData product_specific_data = 6; | 42 repeated ProductSpecificData product_specific_data = 6; |
43 | 43 |
44 // Name of the binary data stored. Replicated from | 44 // Name of the binary data stored. Replicated from |
45 // ProductSpecificBinaryData.name which is stored as a separate | 45 // ProductSpecificBinaryData.name which is stored as a separate |
46 // column in Feedbacks3 megastore table. | 46 // column in Feedbacks3 megastore table. |
47 repeated string product_specific_binary_data_name = 7; | 47 repeated string product_specific_binary_data_name = 7; |
48 }; | 48 }; |
(...skipping 28 matching lines...) Expand all Loading... |
77 | 77 |
78 message ProductSpecificBinaryData { | 78 message ProductSpecificBinaryData { |
79 required string name = 1; | 79 required string name = 1; |
80 | 80 |
81 // mime_type of data | 81 // mime_type of data |
82 optional string mime_type = 2; | 82 optional string mime_type = 2; |
83 | 83 |
84 // raw data | 84 // raw data |
85 optional bytes data = 3; | 85 optional bytes data = 3; |
86 }; | 86 }; |
OLD | NEW |