diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 20:40:59 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 20:40:59 +0000 |
commit | 64fc2700e520905b170fe6f7576795aed63648f4 (patch) | |
tree | 52f76b7226f0c535e4350e0c1ca125858621a9e3 /chrome/browser/chromeos/input_method | |
parent | c1dc5632a7780ae5fcc846ff76d6a9e60ad90182 (diff) | |
download | chromium_src-64fc2700e520905b170fe6f7576795aed63648f4.zip chromium_src-64fc2700e520905b170fe6f7576795aed63648f4.tar.gz chromium_src-64fc2700e520905b170fe6f7576795aed63648f4.tar.bz2 |
Command line flag cleanup.
Move some string literals into chrome/common/chrome_switches.
There are still many uses in places that cannot depend on chrome/common.
BUG=none
TEST=trybots
Review URL: http://codereview.chromium.org/2824008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method')
-rw-r--r-- | chrome/browser/chromeos/input_method/candidate_window.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/input_method/candidate_window.cc b/chrome/browser/chromeos/input_method/candidate_window.cc index 17a2b7f..289e1a0 100644 --- a/chrome/browser/chromeos/input_method/candidate_window.cc +++ b/chrome/browser/chromeos/input_method/candidate_window.cc @@ -23,6 +23,7 @@ #include "base/utf_string_conversions.h" #include "chrome/browser/chromeos/cros/cros_library_loader.h" #include "chrome/common/chrome_paths.h" +#include "chrome/common/chrome_switches.h" #include "gfx/canvas.h" #include "gfx/font.h" #include "third_party/cros/chromeos_cros_api.h" @@ -1018,7 +1019,8 @@ int main(int argc, char** argv) { // Write logs to a file for debugging, if --logtofile=FILE_NAME is given. const CommandLine& command_line = *CommandLine::ForCurrentProcess(); - std::string log_file_name = command_line.GetSwitchValueASCII("logtofile"); + std::string log_file_name = + command_line.GetSwitchValueASCII(switches::kChromeosLogToFile); if (!log_file_name.empty()) { logging::SetMinLogLevel(logging::LOG_INFO); logging::InitLogging(log_file_name.c_str(), |