diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 21:15:34 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 21:15:34 +0000 |
commit | dee7c0509d0e98d1210725aad2ce6e5153780592 (patch) | |
tree | 2408eb938674cde03bffb69350171980222d1584 /chrome/tools | |
parent | f756abf74be7ce47d482f9760eacb608c9f0e121 (diff) | |
download | chromium_src-dee7c0509d0e98d1210725aad2ce6e5153780592.zip chromium_src-dee7c0509d0e98d1210725aad2ce6e5153780592.tar.gz chromium_src-dee7c0509d0e98d1210725aad2ce6e5153780592.tar.bz2 |
Remove GetSwitchValue() from chrome/* where easy.
Review URL: http://codereview.chromium.org/3057033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rw-r--r-- | chrome/tools/crash_service/crash_service.cc | 4 |
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 c062c04..09768fa 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.GetSwitchValue(kMaxReports).c_str()); + max_reports = _wtoi(cmd_line.GetSwitchValueNative(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.GetSwitchValue(kReporterTag); + reporter_tag_ = cmd_line.GetSwitchValueNative(kReporterTag); // Log basic information. LOG(INFO) << "pipe name is " << pipe_name; |