Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5573)

Unified Diff: chrome/browser/userfeedback/proto/web.proto

Issue 2068004: Commiting http://codereview.chromium.org/2017007/show on behalf of rkc@chromi... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
+};

Powered by Google App Engine
This is Rietveld 408576698