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