diff options
author | rkc@google.com <rkc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 17:42:20 +0000 |
---|---|---|
committer | rkc@google.com <rkc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 17:42:20 +0000 |
commit | 74a9f9f48c5832f548368eb8b43933f6b2a10e60 (patch) | |
tree | 5067464449bbb6725d8daaec1dc9399eb0866ab2 /chrome/browser/bug_report_util.h | |
parent | 4685af7696690319a792030aafb329169cb93fa2 (diff) | |
download | chromium_src-74a9f9f48c5832f548368eb8b43933f6b2a10e60.zip chromium_src-74a9f9f48c5832f548368eb8b43933f6b2a10e60.tar.gz chromium_src-74a9f9f48c5832f548368eb8b43933f6b2a10e60.tar.bz2 |
Checkin for CL: http://codereview.chromium.org/3061044/show
TEST=Backend: Various reports submitted from Chrome OS and Windows builds
sent to the feedback test server. For Chromium OS, sent reports
with current screenshot and saved screenshots; verified all reports
for data accuracy and completion.
Frontend: Tested the UI features by excersizing various options; tested
not selecting any issue, tested switching between screenshot types.
Review URL: http://codereview.chromium.org/3181027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56708 0039d316-1c4b-4281-b951-d872f2087c98
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); }; |