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