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