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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window.cc

Issue 2824008: Command line flag cleanup. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: copyright years Created 10 years, 6 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
« no previous file with comments | « chrome/app/chrome_dll_main.cc ('k') | chrome/browser/sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/candidate_window.cc
diff --git a/chrome/browser/chromeos/input_method/candidate_window.cc b/chrome/browser/chromeos/input_method/candidate_window.cc
index 17a2b7f421cd6de5f4725e6ae6feec301e4e0368..289e1a0dfddb62342c19293a24844ba86b6bf1a2 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(),
« no previous file with comments | « chrome/app/chrome_dll_main.cc ('k') | chrome/browser/sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698