diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-13 02:07:25 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-13 02:07:25 +0000 |
commit | b7e0a2a3ccf5aceb891d5e1dfaf9db1bbaaa5f78 (patch) | |
tree | d723b8556ad386a0b8a6e999e3a842e0bfe6f9b0 /base/test | |
parent | 1976d41ac728fcceb30f2df3c243cb7417f538f1 (diff) | |
download | chromium_src-b7e0a2a3ccf5aceb891d5e1dfaf9db1bbaaa5f78.zip chromium_src-b7e0a2a3ccf5aceb891d5e1dfaf9db1bbaaa5f78.tar.gz chromium_src-b7e0a2a3ccf5aceb891d5e1dfaf9db1bbaaa5f78.tar.bz2 |
Use ASCII strings for switch names.
Review URL: http://codereview.chromium.org/270062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test')
-rw-r--r-- | base/test/perf_test_suite.h | 2 | ||||
-rw-r--r-- | base/test/test_suite.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/base/test/perf_test_suite.h b/base/test/perf_test_suite.h index 7393544..eed3cfc 100644 --- a/base/test/perf_test_suite.h +++ b/base/test/perf_test_suite.h @@ -24,7 +24,7 @@ class PerfTestSuite : public TestSuite { // Initialize the perf timer log FilePath log_path; std::wstring log_file = - CommandLine::ForCurrentProcess()->GetSwitchValue(L"log-file"); + CommandLine::ForCurrentProcess()->GetSwitchValue("log-file"); if (log_file.empty()) { FilePath exe; PathService::Get(base::FILE_EXE, &exe); diff --git a/base/test/test_suite.h b/base/test/test_suite.h index 863721a..5fd1acc 100644 --- a/base/test/test_suite.h +++ b/base/test/test_suite.h @@ -210,7 +210,7 @@ class TestSuite { // In some cases, we do not want to see standard error dialogs. if (!IsDebuggerPresent() && - !CommandLine::ForCurrentProcess()->HasSwitch(L"show-error-dialogs")) { + !CommandLine::ForCurrentProcess()->HasSwitch("show-error-dialogs")) { SuppressErrorDialogs(); #if !defined(PURIFY) // When the code in this file moved around, bug 6436 resurfaced. |