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

Side by Side Diff: chrome/worker/worker_main.cc

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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/tools/crash_service/crash_service.cc ('k') | views/DEPS » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/system_monitor.h" 8 #include "base/system_monitor.h"
9 #include "chrome/common/child_process.h" 9 #include "chrome/common/child_process.h"
10 #include "chrome/common/chrome_constants.h" 10 #include "chrome/common/chrome_constants.h"
11 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
12 #include "chrome/common/logging_chrome.h" 12 #include "chrome/common/logging_chrome.h"
13 #include "chrome/common/main_function_params.h" 13 #include "chrome/common/main_function_params.h"
14 #include "chrome/common/win_util.h"
15 #include "chrome/worker/worker_thread.h" 14 #include "chrome/worker/worker_thread.h"
16 15
17 #if defined(OS_WIN) 16 #if defined(OS_WIN)
18 #include "chrome/common/sandbox_init_wrapper.h" 17 #include "chrome/common/sandbox_init_wrapper.h"
19 #include "sandbox/src/sandbox.h" 18 #include "sandbox/src/sandbox.h"
20 #endif 19 #endif
21 20
22 // Mainline routine for running as the worker process. 21 // Mainline routine for running as the worker process.
23 int WorkerMain(const MainFunctionParams& parameters) { 22 int WorkerMain(const MainFunctionParams& parameters) {
24 const CommandLine& parsed_command_line = parameters.command_line_; 23 const CommandLine& parsed_command_line = parameters.command_line_;
(...skipping 15 matching lines...) Expand all
40 39
41 target_services->LowerToken(); 40 target_services->LowerToken();
42 #endif 41 #endif
43 42
44 // Load the accelerator table from the browser executable and tell the 43 // Load the accelerator table from the browser executable and tell the
45 // message loop to use it when translating messages. 44 // message loop to use it when translating messages.
46 MessageLoop::current()->Run(); 45 MessageLoop::current()->Run();
47 46
48 return 0; 47 return 0;
49 } 48 }
OLDNEW
« no previous file with comments | « chrome/tools/crash_service/crash_service.cc ('k') | views/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698