| Index: chrome/browser/userfeedback/proto/web.proto
|
| ===================================================================
|
| --- chrome/browser/userfeedback/proto/web.proto (revision 0)
|
| +++ chrome/browser/userfeedback/proto/web.proto (revision 0)
|
| @@ -0,0 +1,70 @@
|
| +// Copyright 2009 Google Inc. All Rights Reserved.
|
| +// Author: jaceks@google.com (Jacek Surazski)
|
| +
|
| +syntax = "proto2";
|
| +
|
| +package userfeedback;
|
| +
|
| +// Data present in Web related feedbacks
|
| +
|
| +import "annotations.proto";
|
| +import "config.proto";
|
| +import "dom.proto";
|
| +import "math.proto";
|
| +
|
| +// Data present in feedbacks sent from web extension.
|
| +message WebData {
|
| + // Data captured from DOM Navigator object.
|
| + optional Navigator navigator = 1;
|
| +
|
| + // Details of the extension from which this data was sent.
|
| + optional ExtensionDetails extension_details = 2;
|
| +
|
| + // The URL of the document.
|
| + // Useful when user opts out from sending html structure.
|
| + optional string url = 3;
|
| +
|
| + // A list of annotations.
|
| + repeated Annotation annotation = 4;
|
| +
|
| + // The ID of the suggestion selected by the user.
|
| + // Possible values:
|
| + // - Not set if no suggestions were shown, either because the version of
|
| + // the client did not support suggestions, suggestions were disabled or
|
| + // no matching suggestions were found.
|
| + // - NONE_OF_THE_ABOVE if the user has chosen "None of the above".
|
| + // - Empty string if suggestions were shown but the user hasn't chosen
|
| + // any of them (and also she hasn't chosen "None of the above").
|
| + // - Actual suggestion identifier as returned from the server.
|
| + optional string suggestion_id = 5;
|
| +
|
| + repeated ProductSpecificData product_specific_data = 6;
|
| +};
|
| +
|
| +message ExtensionDetails {
|
| + // Indicates browser and mpm release.
|
| + required string extension_version = 1;
|
| +
|
| + required string protocol_version = 2;
|
| +};
|
| +
|
| +// Additional data sent by the internal version.
|
| +message InternalWebData {
|
| + // List of user names in google.com domain to which feedback should be sent
|
| + // directly apart from submitting it to server.
|
| + repeated string email_receiver = 1;
|
| +
|
| + // Subject of the problem entered by user.
|
| + optional string subject = 2;
|
| +
|
| + // If this flag is set then product support team should be notified
|
| + // immediately.
|
| + optional bool DEPRECATED_urgent = 3 [default = false];
|
| +};
|
| +
|
| +// Product specific data. Contains one key/value pair that is specific to the
|
| +// product for which feedback is submitted.
|
| +message ProductSpecificData {
|
| + required string key = 1;
|
| + optional string value = 2;
|
| +};
|
|
|