summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bug_report_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/bug_report_util.cc')
-rw-r--r--chrome/browser/bug_report_util.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/chrome/browser/bug_report_util.cc b/chrome/browser/bug_report_util.cc
index 5db9e48..88907b8 100644
--- a/chrome/browser/bug_report_util.cc
+++ b/chrome/browser/bug_report_util.cc
@@ -17,11 +17,16 @@
namespace {
-static const int kBugReportVersion = 1;
+const int kBugReportVersion = 1;
-static const char kReportPhishingUrl[] =
+const char kReportPhishingUrl[] =
"http://www.google.com/safebrowsing/report_phish/";
-}
+
+// URL to post bug reports to.
+const char* const kBugReportPostUrl =
+ "http://web-bug.appspot.com/bugreport";
+
+} // namespace
// Simple URLFetcher::Delegate to clean up URLFetcher on completion.
class BugReportUtil::PostCleanup : public URLFetcher::Delegate {
@@ -97,7 +102,7 @@ void BugReportUtil::SendReport(Profile* profile,
std::string description,
const char* png_data,
int png_data_length) {
- GURL post_url(WideToUTF8(l10n_util::GetString(IDS_BUGREPORT_POST_URL)));
+ GURL post_url(kBugReportPostUrl);
std::string mime_boundary;
CreateMimeBoundary(&mime_boundary);