blob: fb9f6af66ef3da30bc02262e1f51150ac14dd4d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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;
};
|