summaryrefslogtreecommitdiffstats
path: root/chrome/browser/userfeedback/proto
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/userfeedback/proto')
-rw-r--r--chrome/browser/userfeedback/proto/chrome.proto55
-rw-r--r--chrome/browser/userfeedback/proto/common.proto8
-rw-r--r--chrome/browser/userfeedback/proto/extension.proto3
-rw-r--r--chrome/browser/userfeedback/proto/web.proto1
4 files changed, 65 insertions, 2 deletions
diff --git a/chrome/browser/userfeedback/proto/chrome.proto b/chrome/browser/userfeedback/proto/chrome.proto
new file mode 100644
index 0000000..11b8eff
--- /dev/null
+++ b/chrome/browser/userfeedback/proto/chrome.proto
@@ -0,0 +1,55 @@
+// Copyright 2010 Google Inc. All Rights Reserved.
+// Author: marcinm@google.com (Marcin Mikosik)
+
+syntax = "proto2";
+
+package userfeedback;
+
+// Chrome Browser and Chrome OS specific data.
+message ChromeData {
+ // Encapsulates the priorities of Buganizer issues.
+ enum ChromePlatform {
+ CHROME_OS = 1;
+ CHROME_BROWSER = 2;
+ }
+
+ // What platform has a report been sent from.
+ optional ChromePlatform chrome_platform = 1 [default = CHROME_OS];
+
+ optional ChromeOsData chrome_os_data = 2;
+
+ optional ChromeBrowserData chrome_browser_data = 3;
+}
+
+message ChromeOsData {
+ enum ChromeOsCategory {
+ CONNECTIVITY = 1;
+ SYNC = 2;
+ CRASH = 3;
+ PAGE_FORMATTING_OR_LAYOUT = 4;
+ EXTENSIONS_OR_APPS = 5;
+ STANDBY_OR_RESUME = 6;
+ PHISHING_PAGE = 7;
+ OTHER = 8;
+ }
+
+ optional ChromeOsCategory category = 1 [default = OTHER];
+}
+
+message ChromeBrowserData{
+
+ enum ChromeBrowserCategory {
+ PAGE_FORMATTING_OR_LAYOUT = 1;
+ PAGES_NOT_LOADING = 2;
+ PLUGINS = 3;
+ TABS_OR_WINDOWS = 4;
+ SYNCED_PREFERENCES = 5;
+ CRASH = 6;
+ EXTENSIONS_OR_APPS = 7;
+ PHISHING_PAGE = 8;
+ OTHER = 9;
+ }
+
+ optional ChromeBrowserCategory category = 1 [default = OTHER];
+}
+
diff --git a/chrome/browser/userfeedback/proto/common.proto b/chrome/browser/userfeedback/proto/common.proto
index 97c60fb..291e6a1 100644
--- a/chrome/browser/userfeedback/proto/common.proto
+++ b/chrome/browser/userfeedback/proto/common.proto
@@ -16,7 +16,13 @@ message CommonData {
// Description of the problem entered by user.
optional string description = 2;
optional string description_translated = 4;
- optional string source_descripton_language = 5 [ default = "en" ];
+ optional string source_description_language = 5 [ default = "en" ];
+ optional string ui_language = 6 [ default = "en_US" ];
optional string user_email = 3;
+
+ // Unique identifier of feedback report. If set than only one report
+ // with the same identifier is stored in the system.
+ // If you are not sure how to use it leave it not set.
+ optional string unique_report_identifier = 7;
};
diff --git a/chrome/browser/userfeedback/proto/extension.proto b/chrome/browser/userfeedback/proto/extension.proto
index d600f8a..71be3dc 100644
--- a/chrome/browser/userfeedback/proto/extension.proto
+++ b/chrome/browser/userfeedback/proto/extension.proto
@@ -8,6 +8,7 @@ syntax = "proto2";
package userfeedback;
import "common.proto";
+import "chrome.proto";
import "dom.proto";
import "math.proto";
import "web.proto";
@@ -64,6 +65,8 @@ message ExternalExtensionSubmit {
optional HtmlDocument html_document_structure = 5;
optional ExtensionErrors extension_errors = 13;
+
+ optional ChromeData chrome_data = 14;
};
// Sent when user hits final submit button in internal extension.
diff --git a/chrome/browser/userfeedback/proto/web.proto b/chrome/browser/userfeedback/proto/web.proto
index fb9f6af..71b0b29 100644
--- a/chrome/browser/userfeedback/proto/web.proto
+++ b/chrome/browser/userfeedback/proto/web.proto
@@ -8,7 +8,6 @@ package userfeedback;
// Data present in Web related feedbacks
import "annotations.proto";
-import "config.proto";
import "dom.proto";
import "math.proto";