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

Side by Side Diff: content/browser/utility_process_host_impl.cc

Issue 22394006: Get rid of webkit/plugins/plugin_switches.* and move them to content/public/common/content_switches… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/browser/utility_process_host_impl.h" 5 #include "content/browser/utility_process_host_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/sequenced_task_runner.h" 13 #include "base/sequenced_task_runner.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "base/synchronization/waitable_event.h" 16 #include "base/synchronization/waitable_event.h"
17 #include "content/browser/browser_child_process_host_impl.h" 17 #include "content/browser/browser_child_process_host_impl.h"
18 #include "content/browser/renderer_host/render_process_host_impl.h" 18 #include "content/browser/renderer_host/render_process_host_impl.h"
19 #include "content/child/child_process.h" 19 #include "content/child/child_process.h"
20 #include "content/common/child_process_host_impl.h" 20 #include "content/common/child_process_host_impl.h"
21 #include "content/common/utility_messages.h" 21 #include "content/common/utility_messages.h"
22 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
23 #include "content/public/browser/content_browser_client.h" 23 #include "content/public/browser/content_browser_client.h"
24 #include "content/public/browser/utility_process_host_client.h" 24 #include "content/public/browser/utility_process_host_client.h"
25 #include "content/public/common/content_switches.h" 25 #include "content/public/common/content_switches.h"
26 #include "content/public/common/process_type.h" 26 #include "content/public/common/process_type.h"
27 #include "content/utility/utility_thread_impl.h" 27 #include "content/utility/utility_thread_impl.h"
28 #include "ipc/ipc_switches.h" 28 #include "ipc/ipc_switches.h"
29 #include "ui/base/ui_base_switches.h" 29 #include "ui/base/ui_base_switches.h"
30 #include "webkit/plugins/plugin_switches.h"
31 30
32 #if defined(OS_WIN) 31 #if defined(OS_WIN)
33 #include "content/public/common/sandboxed_process_launcher_delegate.h" 32 #include "content/public/common/sandboxed_process_launcher_delegate.h"
34 #endif 33 #endif
35 34
36 namespace content { 35 namespace content {
37 36
38 #if defined(OS_WIN) 37 #if defined(OS_WIN)
39 // NOTE: changes to this class need to be reviewed by the security team. 38 // NOTE: changes to this class need to be reviewed by the security team.
40 class UtilitySandboxedProcessLauncherDelegate 39 class UtilitySandboxedProcessLauncherDelegate
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 } 288 }
290 289
291 void UtilityProcessHostImpl::OnProcessCrashed(int exit_code) { 290 void UtilityProcessHostImpl::OnProcessCrashed(int exit_code) {
292 client_task_runner_->PostTask( 291 client_task_runner_->PostTask(
293 FROM_HERE, 292 FROM_HERE,
294 base::Bind(&UtilityProcessHostClient::OnProcessCrashed, client_.get(), 293 base::Bind(&UtilityProcessHostClient::OnProcessCrashed, client_.get(),
295 exit_code)); 294 exit_code));
296 } 295 }
297 296
298 } // namespace content 297 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/common/plugin_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698