| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2009 Google Inc. All Rights Reserved. |
| 2 // Author: jaceks@google.com (Jacek Surazski) |
| 3 |
| 4 syntax = "proto2"; |
| 5 |
| 6 package userfeedback; |
| 7 |
| 8 // Data present in Web related feedbacks |
| 9 |
| 10 import "annotations.proto"; |
| 11 import "config.proto"; |
| 12 import "dom.proto"; |
| 13 import "math.proto"; |
| 14 |
| 15 // Data present in feedbacks sent from web extension. |
| 16 message WebData { |
| 17 // Data captured from DOM Navigator object. |
| 18 optional Navigator navigator = 1; |
| 19 |
| 20 // Details of the extension from which this data was sent. |
| 21 optional ExtensionDetails extension_details = 2; |
| 22 |
| 23 // The URL of the document. |
| 24 // Useful when user opts out from sending html structure. |
| 25 optional string url = 3; |
| 26 |
| 27 // A list of annotations. |
| 28 repeated Annotation annotation = 4; |
| 29 |
| 30 // The ID of the suggestion selected by the user. |
| 31 // Possible values: |
| 32 // - Not set if no suggestions were shown, either because the version of |
| 33 // the client did not support suggestions, suggestions were disabled or |
| 34 // no matching suggestions were found. |
| 35 // - NONE_OF_THE_ABOVE if the user has chosen "None of the above". |
| 36 // - Empty string if suggestions were shown but the user hasn't chosen |
| 37 // any of them (and also she hasn't chosen "None of the above"). |
| 38 // - Actual suggestion identifier as returned from the server. |
| 39 optional string suggestion_id = 5; |
| 40 |
| 41 repeated ProductSpecificData product_specific_data = 6; |
| 42 }; |
| 43 |
| 44 message ExtensionDetails { |
| 45 // Indicates browser and mpm release. |
| 46 required string extension_version = 1; |
| 47 |
| 48 required string protocol_version = 2; |
| 49 }; |
| 50 |
| 51 // Additional data sent by the internal version. |
| 52 message InternalWebData { |
| 53 // List of user names in google.com domain to which feedback should be sent |
| 54 // directly apart from submitting it to server. |
| 55 repeated string email_receiver = 1; |
| 56 |
| 57 // Subject of the problem entered by user. |
| 58 optional string subject = 2; |
| 59 |
| 60 // If this flag is set then product support team should be notified |
| 61 // immediately. |
| 62 optional bool DEPRECATED_urgent = 3 [default = false]; |
| 63 }; |
| 64 |
| 65 // Product specific data. Contains one key/value pair that is specific to the |
| 66 // product for which feedback is submitted. |
| 67 message ProductSpecificData { |
| 68 required string key = 1; |
| 69 optional string value = 2; |
| 70 }; |
| OLD | NEW |