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-05-20 05:55:06 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-20 05:55:06 +0000
commite251662cc98ddde6f01483e8f6195ac94a98e494 (patch)
tree5a70b2f84c5cbc44398c25a243d90113ac3e426b /chrome/browser/bug_report_util.h
parentcb58c8cffe58b6cb0aa357998179b7b03b41a8ec (diff)
downloadchromium_src-e251662cc98ddde6f01483e8f6195ac94a98e494.zip
chromium_src-e251662cc98ddde6f01483e8f6195ac94a98e494.tar.gz
chromium_src-e251662cc98ddde6f01483e8f6195ac94a98e494.tar.bz2
Submitting http://codereview.chromium.org/2081006/show on behalf of rkc@chromium.org:
Changes for sending user e-mail along with the feedback Changes to implement complete userfeedback stack. TBR=zelidrag@chromium.org TEST=none BUG=chromium-os:2761 Review URL: http://codereview.chromium.org/2090011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bug_report_util.h')
-rw-r--r--chrome/browser/bug_report_util.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/chrome/browser/bug_report_util.h b/chrome/browser/bug_report_util.h
index a56d4e1..a37f8e8 100644
--- a/chrome/browser/bug_report_util.h
+++ b/chrome/browser/bug_report_util.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,12 +14,16 @@
#include "base/sys_info.h"
#endif
#include "base/scoped_ptr.h"
-
#include "chrome/browser/userfeedback/proto/common.pb.h"
#include "chrome/browser/userfeedback/proto/extension.pb.h"
#include "chrome/browser/userfeedback/proto/math.pb.h"
#include "gfx/rect.h"
+#if defined(OS_CHROMEOS)
+#include "chrome/browser/chromeos/cros/syslogs_library.h"
+#include "chrome/browser/chromeos/cros/cros_library.h"
+#endif
+
class Profile;
class TabContents;
@@ -52,11 +56,17 @@ class BugReportUtil {
const std::string& page_title_text,
int problem_type,
const std::string& page_url_text,
+ const std::string& user_email_text,
const std::string& description,
const char* png_data,
int png_data_length,
int png_width,
+#if defined(OS_CHROMEOS)
+ int png_height,
+ const chromeos::LogDictionaryType* const sys_info);
+#else
int png_height);
+#endif
// Redirects the user to Google's phishing reporting page.
static void ReportPhishing(TabContents* currentTab,