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 // Messages containing configuration of Feedback Service | 5 // Messages containing configuration of Feedback Service |
6 // that control classification and processing of submitted feedbacks. | 6 // that control classification and processing of submitted feedbacks. |
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 // Product for which feedback can be sent: GMail, Writely etc. | 14 // Product for which feedback can be sent: GMail, Writely etc. |
13 message Product { | 15 message Product { |
14 required int32 id = 1; | 16 required int32 id = 1; |
15 | 17 |
16 required string name = 2; | 18 required string name = 2; |
17 | 19 |
18 repeated string owner = 3; | 20 repeated string owner = 3; |
19 }; | 21 }; |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 message MatcherData { | 133 message MatcherData { |
132 // XPATH expression to match against page. | 134 // XPATH expression to match against page. |
133 required string content_matcher = 1; | 135 required string content_matcher = 1; |
134 | 136 |
135 // Regexp matching page URL. | 137 // Regexp matching page URL. |
136 required string url_matcher = 2; | 138 required string url_matcher = 2; |
137 | 139 |
138 // Approval by feedback admins | 140 // Approval by feedback admins |
139 optional bool url_matcher_approved = 3 [default=true]; | 141 optional bool url_matcher_approved = 3 [default=true]; |
140 }; | 142 }; |
OLD | NEW |