diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-19 22:22:24 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-19 22:22:24 +0000 |
commit | 9cf093c8555632a2daba9f71cd3f2cab411db7e8 (patch) | |
tree | d949a965310e49b4954f60f4cc1c6f6126df6bbe /chrome/browser/bug_report_util.cc | |
parent | ca5ec6ed8c631b8270932413d25a01931efdee59 (diff) | |
download | chromium_src-9cf093c8555632a2daba9f71cd3f2cab411db7e8.zip chromium_src-9cf093c8555632a2daba9f71cd3f2cab411db7e8.tar.gz chromium_src-9cf093c8555632a2daba9f71cd3f2cab411db7e8.tar.bz2 |
Move URLs out of *.pak files and put them into code. This saves
28k of pak file size, but will make the binary a tad bit larger.
BUG=28174
Review URL: http://codereview.chromium.org/407007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bug_report_util.cc')
-rw-r--r-- | chrome/browser/bug_report_util.cc | 13 |
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); |