summaryrefslogtreecommitdiffstats
path: root/chrome/tools/crash_service
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 21:28:56 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 21:28:56 +0000
commit461f028ab0acdd69a5af64cf45c84e91eb41396c (patch)
treed1b89cf6e6dff544ecfff0424f4f0b728b540f49 /chrome/tools/crash_service
parentdee7c0509d0e98d1210725aad2ce6e5153780592 (diff)
downloadchromium_src-461f028ab0acdd69a5af64cf45c84e91eb41396c.zip
chromium_src-461f028ab0acdd69a5af64cf45c84e91eb41396c.tar.gz
chromium_src-461f028ab0acdd69a5af64cf45c84e91eb41396c.tar.bz2
Revert "Remove GetSwitchValue() from chrome/* where easy."
This reverts commit r54966. Meant to try it, not commit it, sorry everyone. :( git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54969 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools/crash_service')
-rw-r--r--chrome/tools/crash_service/crash_service.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/tools/crash_service/crash_service.cc b/chrome/tools/crash_service/crash_service.cc
index 09768fa..c062c04 100644
--- a/chrome/tools/crash_service/crash_service.cc
+++ b/chrome/tools/crash_service/crash_service.cc
@@ -200,7 +200,7 @@ bool CrashService::Initialize(const std::wstring& command_line) {
// We can override the send reports quota with a command line switch.
if (cmd_line.HasSwitch(kMaxReports))
- max_reports = _wtoi(cmd_line.GetSwitchValueNative(kMaxReports).c_str());
+ max_reports = _wtoi(cmd_line.GetSwitchValue(kMaxReports).c_str());
if (max_reports > 0) {
// Create the http sender object.
@@ -252,7 +252,7 @@ bool CrashService::Initialize(const std::wstring& command_line) {
reporter_tag_ = L"crash svc";
if (cmd_line.HasSwitch(kReporterTag))
- reporter_tag_ = cmd_line.GetSwitchValueNative(kReporterTag);
+ reporter_tag_ = cmd_line.GetSwitchValue(kReporterTag);
// Log basic information.
LOG(INFO) << "pipe name is " << pipe_name;