OLD | NEW |
1 // Copyright 2009 Google Inc. All Rights Reserved. | 1 // Copyright 2009 Google Inc. All Rights Reserved. |
2 // Author: morgwai@google.com (Morgwai Kotarbinski) | 2 // Author: morgwai@google.com (Morgwai Kotarbinski) |
3 // | 3 // |
4 // Messages sent from extension to feedback server as JSON. | 4 // Messages sent from extension to feedback server as JSON. |
5 | 5 |
6 syntax = "proto2"; | 6 syntax = "proto2"; |
7 | 7 |
8 package userfeedback; | 8 package userfeedback; |
9 | 9 |
10 import "common.proto"; | 10 import "common.proto"; |
| 11 import "chrome.proto"; |
11 import "dom.proto"; | 12 import "dom.proto"; |
12 import "math.proto"; | 13 import "math.proto"; |
13 import "web.proto"; | 14 import "web.proto"; |
14 | 15 |
15 // Sent along with request for extension page when user attempts to open | 16 // Sent along with request for extension page when user attempts to open |
16 // feedback tab. | 17 // feedback tab. |
17 message ExtensionPageRequestParams { | 18 message ExtensionPageRequestParams { |
18 | 19 |
19 required ExtensionDetails extension_details = 1; | 20 required ExtensionDetails extension_details = 1; |
20 | 21 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 58 |
58 required WebData web_data = 2; | 59 required WebData web_data = 2; |
59 | 60 |
60 required int32 type_id = 3; | 61 required int32 type_id = 3; |
61 | 62 |
62 optional PostedScreenshot screenshot = 4; | 63 optional PostedScreenshot screenshot = 4; |
63 | 64 |
64 optional HtmlDocument html_document_structure = 5; | 65 optional HtmlDocument html_document_structure = 5; |
65 | 66 |
66 optional ExtensionErrors extension_errors = 13; | 67 optional ExtensionErrors extension_errors = 13; |
| 68 |
| 69 optional ChromeData chrome_data = 14; |
67 }; | 70 }; |
68 | 71 |
69 // Sent when user hits final submit button in internal extension. | 72 // Sent when user hits final submit button in internal extension. |
70 // NOTE: Field numbers for ExternalExtensionSubmit and InternalExtensionSubmit | 73 // NOTE: Field numbers for ExternalExtensionSubmit and InternalExtensionSubmit |
71 // share the same number space. See comment for ExternalExtensionSubmit. | 74 // share the same number space. See comment for ExternalExtensionSubmit. |
72 message InternalExtensionSubmit { | 75 message InternalExtensionSubmit { |
73 | 76 |
74 required CommonData common_data = 6; | 77 required CommonData common_data = 6; |
75 | 78 |
76 required WebData web_data = 7; | 79 required WebData web_data = 7; |
(...skipping 13 matching lines...) Expand all Loading... |
90 message SuggestQuery { | 93 message SuggestQuery { |
91 | 94 |
92 required CommonData common_data = 1; | 95 required CommonData common_data = 1; |
93 | 96 |
94 required WebData web_data = 2; | 97 required WebData web_data = 2; |
95 | 98 |
96 required int32 type_id = 3; | 99 required int32 type_id = 3; |
97 | 100 |
98 optional HtmlDocument html_document_structure = 4; | 101 optional HtmlDocument html_document_structure = 4; |
99 }; | 102 }; |
OLD | NEW |