From 2d39c51b903086f01adf5470ee6725ced14df8ee Mon Sep 17 00:00:00 2001 From: "rkc@chromium.org" Date: Wed, 20 Oct 2010 23:52:57 +0000 Subject: 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 --- chrome/browser/bug_report_util.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'chrome/browser/bug_report_util.cc') 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 -- cgit v1.1