summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bug_report_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/bug_report_util.h')
-rw-r--r--chrome/browser/bug_report_util.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/chrome/browser/bug_report_util.h b/chrome/browser/bug_report_util.h
index 7d5af5d..61835d6 100644
--- a/chrome/browser/bug_report_util.h
+++ b/chrome/browser/bug_report_util.h
@@ -30,18 +30,8 @@ class TabContents;
class BugReportUtil {
public:
-#if defined(OS_CHROMEOS)
- enum BugType {
- CONNECTIVITY_ISSUE = 0,
- SYNC_ISSUE,
- CRASH_ISSUE,
- PAGE_FORMATTING,
- EXTENSION_ISSUE,
- SUSPEND_ISSUE,
- PHISHING_PAGE,
- OTHER_PROBLEM
- };
-#else
+
+#if defined(OS_MACOSX)
enum BugType {
PAGE_WONT_LOAD = 0,
PAGE_LOOKS_ODD,
@@ -54,6 +44,7 @@ class BugReportUtil {
};
#endif
+
// SetOSVersion copies the maj.minor.build + servicePack_string
// into a string. We currently have:
// base::win::GetVersion returns WinVersion, which is just
@@ -68,6 +59,11 @@ class BugReportUtil {
// This sets the address of the feedback server to be used by SendReport
static void SetFeedbackServer(const std::string& server);
+ // Send the feedback report after the specified delay
+ static void DispatchFeedback(Profile* profile, std::string* feedback_data,
+ int64 delay);
+
+
// Generates bug report data.
static void SendReport(Profile* profile,
const std::string& page_title_text,
@@ -99,6 +95,10 @@ class BugReportUtil {
userfeedback::ExternalExtensionSubmit* feedback_data,
const std::string& key, const std::string& value);
+ // Send the feedback report
+ static void SendFeedback(Profile* profile, std::string* feedback_data,
+ int64 previous_delay);
+
#if defined(OS_CHROMEOS)
static bool ValidFeedbackSize(const std::string& content);
#endif