diff options
Diffstat (limited to 'chrome/browser/bug_report_util.h')
-rw-r--r-- | chrome/browser/bug_report_util.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/bug_report_util.h b/chrome/browser/bug_report_util.h index d4ffd77..7b51a74 100644 --- a/chrome/browser/bug_report_util.h +++ b/chrome/browser/bug_report_util.h @@ -64,19 +64,21 @@ class BugReportUtil { // all the call sites or making it a wrapper around another util. static void SetOSVersion(std::string *os_version); + // This sets the address of the feedback server to be used by SendReport + static void SetFeedbackServer(const std::string& server); + // Generates bug report data. static void SendReport(Profile* profile, 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 std::string& problem_type_text, + const std::string& user_email_text, const chromeos::LogDictionaryType* const sys_info); #else int png_height); @@ -94,6 +96,8 @@ class BugReportUtil { userfeedback::ExternalExtensionSubmit* feedback_data, const std::string& key, const std::string& value); + static std::string feedback_server_; + DISALLOW_IMPLICIT_CONSTRUCTORS(BugReportUtil); }; |