summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bug_report_util.h
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-09 00:17:57 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-09 00:17:57 +0000
commit900fc625b6cd3c516bb2c7d2dccd44f7b27642a8 (patch)
treeda98bdf6f906b93c101391359a4c6aa8418541f2 /chrome/browser/bug_report_util.h
parente986022b3dde48b58f75ed80f1171c55bb34ed3f (diff)
downloadchromium_src-900fc625b6cd3c516bb2c7d2dccd44f7b27642a8.zip
chromium_src-900fc625b6cd3c516bb2c7d2dccd44f7b27642a8.tar.gz
chromium_src-900fc625b6cd3c516bb2c7d2dccd44f7b27642a8.tar.bz2
Prepared code for system logs split in ChromeOS feedback reports. We are still missing sever-side changes, so
part of this code is commented out until we get at least proto buffers defined. BUG=chromium-os:7344 TEST=none Review URL: http://codereview.chromium.org/3563011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bug_report_util.h')
-rw-r--r--chrome/browser/bug_report_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/bug_report_util.h b/chrome/browser/bug_report_util.h
index e11a22c..c01acc04 100644
--- a/chrome/browser/bug_report_util.h
+++ b/chrome/browser/bug_report_util.h
@@ -78,6 +78,8 @@ class BugReportUtil {
#if defined(OS_CHROMEOS)
int png_height,
const std::string& user_email_text,
+ const char* zipped_logs_data,
+ int zipped_logs_length,
const chromeos::LogDictionaryType* const sys_info);
#else
int png_height);
@@ -95,6 +97,10 @@ class BugReportUtil {
userfeedback::ExternalExtensionSubmit* feedback_data,
const std::string& key, const std::string& value);
+#if defined(OS_CHROMEOS)
+ static bool ValidFeedbackSize(const std::string& content);
+#endif
+
static std::string feedback_server_;
DISALLOW_IMPLICIT_CONSTRUCTORS(BugReportUtil);