summaryrefslogtreecommitdiffstats
path: root/chrome/browser/userfeedback
diff options
context:
space:
mode:
authorrkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-20 23:52:57 +0000
committerrkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-20 23:52:57 +0000
commit2d39c51b903086f01adf5470ee6725ced14df8ee (patch)
tree2d46f288092275c50910d1f3e20b03bbb9be2a18 /chrome/browser/userfeedback
parent2785c5e2912a74a78c669f2ee0fe8fbf09df39e9 (diff)
downloadchromium_src-2d39c51b903086f01adf5470ee6725ced14df8ee.zip
chromium_src-2d39c51b903086f01adf5470ee6725ced14df8ee.tar.gz
chromium_src-2d39c51b903086f01adf5470ee6725ced14df8ee.tar.bz2
Changes to enable pushing large log data to the feedback server as a bz2
BUG=7344 TEST=Manually verified that the bz2 data is getting to the feedback server dev instance; UI changes will only be active after the next push to prod Review URL: http://codereview.chromium.org/3814010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63293 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/userfeedback')
-rw-r--r--chrome/browser/userfeedback/proto/extension.proto4
-rw-r--r--chrome/browser/userfeedback/proto/web.proto15
2 files changed, 19 insertions, 0 deletions
diff --git a/chrome/browser/userfeedback/proto/extension.proto b/chrome/browser/userfeedback/proto/extension.proto
index ef4796a..bdfb064 100644
--- a/chrome/browser/userfeedback/proto/extension.proto
+++ b/chrome/browser/userfeedback/proto/extension.proto
@@ -69,6 +69,8 @@ message ExternalExtensionSubmit {
optional ExtensionErrors extension_errors = 13;
optional ChromeData chrome_data = 14;
+
+ repeated ProductSpecificBinaryData product_specific_binary_data = 15;
};
// Sent when user hits final submit button in internal extension.
@@ -89,6 +91,8 @@ message InternalExtensionSubmit {
optional InternalWebData internal_data = 11;
optional ExtensionErrors extension_errors = 12;
+
+ repeated ProductSpecificBinaryData product_specific_binary_data = 15;
};
// A query for suggestions, sent when the user hits the preview button.
diff --git a/chrome/browser/userfeedback/proto/web.proto b/chrome/browser/userfeedback/proto/web.proto
index 1a4f8bb..cee8aca 100644
--- a/chrome/browser/userfeedback/proto/web.proto
+++ b/chrome/browser/userfeedback/proto/web.proto
@@ -40,6 +40,11 @@ message WebData {
optional string suggestion_id = 5;
repeated ProductSpecificData product_specific_data = 6;
+
+ // Name of the binary data stored. Replicated from
+ // ProductSpecificBinaryData.name which is stored as a separate
+ // column in Feedbacks3 megastore table.
+ repeated string product_specific_binary_data_name = 7;
};
message ExtensionDetails {
@@ -69,3 +74,13 @@ message ProductSpecificData {
required string key = 1;
optional string value = 2;
};
+
+message ProductSpecificBinaryData {
+ required string name = 1;
+
+ // mime_type of data
+ optional string mime_type = 2;
+
+ // raw data
+ optional bytes data = 3;
+};