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 /chrome/tools/crash_service | |
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 'chrome/tools/crash_service')
-rw-r--r-- | chrome/tools/crash_service/crash_service.cc | 6 | ||||
-rw-r--r-- | chrome/tools/crash_service/crash_service.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/chrome/tools/crash_service/crash_service.cc b/chrome/tools/crash_service/crash_service.cc index badfd33..058c40a 100644 --- a/chrome/tools/crash_service/crash_service.cc +++ b/chrome/tools/crash_service/crash_service.cc @@ -147,9 +147,9 @@ struct DumpJobInfo { } // namespace // Command line switches: -const wchar_t CrashService::kMaxReports[] = L"max-reports"; -const wchar_t CrashService::kNoWindow[] = L"no-window"; -const wchar_t CrashService::kReporterTag[]= L"reporter"; +const char CrashService::kMaxReports[] = "max-reports"; +const char CrashService::kNoWindow[] = "no-window"; +const char CrashService::kReporterTag[] = "reporter"; CrashService::CrashService(const std::wstring& report_dir) : report_path_(report_dir), diff --git a/chrome/tools/crash_service/crash_service.h b/chrome/tools/crash_service/crash_service.h index 0c022bd..3197eea 100644 --- a/chrome/tools/crash_service/crash_service.h +++ b/chrome/tools/crash_service/crash_service.h @@ -42,17 +42,17 @@ class CrashService { // Allows to override the maximum number for reports per day. Normally // the crash dumps are never sent so if you want to send any you must // specify a positive number here. - static const wchar_t kMaxReports[]; + static const char kMaxReports[]; // --no-window // Does not create a visible window on the desktop. The window does not have // any other functionality other than allowing the crash service to be // gracefully closed. - static const wchar_t kNoWindow[]; + static const char kNoWindow[]; // --reporter=<string> // Allows to specify a custom string that appears on the detail crash report // page in the crash server. This should be a 25 chars or less string. // The default tag if not specified is 'crash svc'. - static const wchar_t kReporterTag[]; + static const char kReporterTag[]; // Returns the actual report path. std::wstring report_path() const { |