OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Basic messages used by all systems (extension, feedbackserver, | 5 // Basic messages used by all systems (extension, feedbackserver, |
6 // silver-bullet clustering, android etc). | 6 // silver-bullet clustering, android etc). |
7 | 7 |
8 syntax = "proto2"; | 8 syntax = "proto2"; |
9 | 9 |
| 10 option optimize_for = LITE_RUNTIME; |
| 11 |
10 package userfeedback; | 12 package userfeedback; |
11 | 13 |
12 // Data present in all kinds of feedbacks, regardless of source (Web, Android, | 14 // Data present in all kinds of feedbacks, regardless of source (Web, Android, |
13 // other). | 15 // other). |
14 message CommonData { | 16 message CommonData { |
15 optional fixed64 gaia_id = 1; | 17 optional fixed64 gaia_id = 1; |
16 | 18 |
17 // Description of the problem entered by user. | 19 // Description of the problem entered by user. |
18 optional string description = 2; | 20 optional string description = 2; |
19 optional string description_translated = 4; | 21 optional string description_translated = 4; |
20 optional string source_description_language = 5 [ default = "en" ]; | 22 optional string source_description_language = 5 [ default = "en" ]; |
21 optional string ui_language = 6 [ default = "en_US" ]; | 23 optional string ui_language = 6 [ default = "en_US" ]; |
22 | 24 |
23 optional string user_email = 3; | 25 optional string user_email = 3; |
24 | 26 |
25 // Unique identifier of feedback report. If set than only one report | 27 // Unique identifier of feedback report. If set than only one report |
26 // with the same identifier is stored in the system. | 28 // with the same identifier is stored in the system. |
27 // If you are not sure how to use it leave it not set. | 29 // If you are not sure how to use it leave it not set. |
28 optional string unique_report_identifier = 7; | 30 optional string unique_report_identifier = 7; |
29 }; | 31 }; |
OLD | NEW |