summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bug_report_util.cc
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/bug_report_util.cc
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/bug_report_util.cc')
-rw-r--r--chrome/browser/bug_report_util.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/bug_report_util.cc b/chrome/browser/bug_report_util.cc
index 8cc10d7..c428924 100644
--- a/chrome/browser/bug_report_util.cc
+++ b/chrome/browser/bug_report_util.cc
@@ -350,15 +350,12 @@ void BugReportUtil::SendReport(Profile* profile,
// Include the page image if we have one.
if (zipped_logs_data && CommandLine::ForCurrentProcess()->HasSwitch(
switches::kCompressSystemFeedback)) {
-/* TODO(zelidrag): http://crosbug.com/7344 - Uncomment this block once proto
-// buffer for ProductSpecificBinaryData gets defined by Feedback team.
userfeedback::ProductSpecificBinaryData attachment;
attachment.set_mime_type(kBZip2MimeType);
attachment.set_name(kLogsAttachmentName);
- attachment.set_binary_content(std::string(zipped_logs_data,
- zipped_logs_length));
- *(feedback_data.mutable_productSpecificBinaryData()) = attachment;
-*/
+ attachment.set_data(std::string(zipped_logs_data, zipped_logs_length));
+
+ *(feedback_data.add_product_specific_binary_data()) = attachment;
}
#endif