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

Side by Side Diff: chrome/utility/utility_main.cc

Issue 6685027: Move some message files and hi_res_timer_manager to content, in preparation f... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/renderer_webkitclient_impl.cc ('k') | chrome/worker/worker_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "app/app_switches.h" 5 #include "app/app_switches.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/threading/platform_thread.h" 11 #include "base/threading/platform_thread.h"
12 #include "chrome/common/chrome_constants.h" 12 #include "chrome/common/chrome_constants.h"
13 #include "chrome/common/chrome_paths.h" 13 #include "chrome/common/chrome_paths.h"
14 #include "chrome/common/extensions/extension_l10n_util.h" 14 #include "chrome/common/extensions/extension_l10n_util.h"
15 #include "chrome/common/hi_res_timer_manager.h"
16 #include "chrome/common/logging_chrome.h" 15 #include "chrome/common/logging_chrome.h"
17 #include "chrome/utility/utility_thread.h" 16 #include "chrome/utility/utility_thread.h"
18 #include "content/common/child_process.h" 17 #include "content/common/child_process.h"
18 #include "content/common/hi_res_timer_manager.h"
19 #include "content/common/main_function_params.h" 19 #include "content/common/main_function_params.h"
20 #include "ui/base/system_monitor/system_monitor.h" 20 #include "ui/base/system_monitor/system_monitor.h"
21 #include "ui/base/ui_base_switches.h" 21 #include "ui/base/ui_base_switches.h"
22 22
23 #if defined(OS_WIN) 23 #if defined(OS_WIN)
24 #include "chrome/common/chrome_switches.h" 24 #include "chrome/common/chrome_switches.h"
25 #include "content/common/sandbox_init_wrapper.h" 25 #include "content/common/sandbox_init_wrapper.h"
26 #include "sandbox/src/sandbox.h" 26 #include "sandbox/src/sandbox.h"
27 #endif // defined(OS_WIN) 27 #endif // defined(OS_WIN)
28 28
(...skipping 30 matching lines...) Expand all
59 59
60 CommandLine* command_line = CommandLine::ForCurrentProcess(); 60 CommandLine* command_line = CommandLine::ForCurrentProcess();
61 std::string lang = command_line->GetSwitchValueASCII(switches::kLang); 61 std::string lang = command_line->GetSwitchValueASCII(switches::kLang);
62 if (!lang.empty()) 62 if (!lang.empty())
63 extension_l10n_util::SetProcessLocale(lang); 63 extension_l10n_util::SetProcessLocale(lang);
64 64
65 MessageLoop::current()->Run(); 65 MessageLoop::current()->Run();
66 66
67 return 0; 67 return 0;
68 } 68 }
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_webkitclient_impl.cc ('k') | chrome/worker/worker_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698