Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1101)

Unified Diff: chrome/tools/crash_service/crash_service.cc

Issue 3057033: Remove GetSwitchValue() from chrome/* where easy. (Closed)
Patch Set: finally Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/tools/crash_service/crash_service.cc
diff --git a/chrome/tools/crash_service/crash_service.cc b/chrome/tools/crash_service/crash_service.cc
index c062c04aa49adaa183224b91f56125e223a40077..09768fae5a256e142a0d67c4a68b3551800cdf50 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;

Powered by Google App Engine
This is Rietveld 408576698