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

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

Issue 114483003: Revert of Linux Sandbox: split the GPU policies to their own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/debug/leak_annotations.h" 6 #include "base/debug/leak_annotations.h"
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "base/threading/platform_thread.h" 8 #include "base/threading/platform_thread.h"
9 #include "base/timer/hi_res_timer_manager.h" 9 #include "base/timer/hi_res_timer_manager.h"
10 #include "content/child/child_process.h" 10 #include "content/child/child_process.h"
11 #include "content/common/sandbox_linux/sandbox_linux.h" 11 #include "content/common/sandbox_linux.h"
12 #include "content/public/common/content_switches.h" 12 #include "content/public/common/content_switches.h"
13 #include "content/public/common/main_function_params.h" 13 #include "content/public/common/main_function_params.h"
14 #include "content/public/common/sandbox_init.h" 14 #include "content/public/common/sandbox_init.h"
15 #include "content/utility/utility_thread_impl.h" 15 #include "content/utility/utility_thread_impl.h"
16 16
17 #if defined(OS_WIN) 17 #if defined(OS_WIN)
18 #include "sandbox/win/src/sandbox.h" 18 #include "sandbox/win/src/sandbox.h"
19 #endif 19 #endif
20 20
21 #if defined(TOOLKIT_GTK) 21 #if defined(TOOLKIT_GTK)
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 #if defined(LEAK_SANITIZER) 88 #if defined(LEAK_SANITIZER)
89 // Invoke LeakSanitizer before shutting down the utility thread, to avoid 89 // Invoke LeakSanitizer before shutting down the utility thread, to avoid
90 // reporting shutdown-only leaks. 90 // reporting shutdown-only leaks.
91 __lsan_do_leak_check(); 91 __lsan_do_leak_check();
92 #endif 92 #endif
93 93
94 return 0; 94 return 0;
95 } 95 }
96 96
97 } // namespace content 97 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/renderer_main_platform_delegate_linux.cc ('k') | content/worker/worker_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698