OLD | NEW |
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/ppapi_plugin/ppapi_thread.h" | 5 #include "content/ppapi_plugin/ppapi_thread.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
12 #include "base/rand_util.h" | 12 #include "base/rand_util.h" |
13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
14 #include "base/threading/platform_thread.h" | 14 #include "base/threading/platform_thread.h" |
15 #include "base/time.h" | 15 #include "base/time.h" |
16 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
17 #include "content/common/child_process.h" | 17 #include "content/common/child_process.h" |
18 #include "content/common/child_process_messages.h" | 18 #include "content/common/child_process_messages.h" |
| 19 #include "content/common/sandbox_util.h" |
19 #include "content/ppapi_plugin/broker_process_dispatcher.h" | 20 #include "content/ppapi_plugin/broker_process_dispatcher.h" |
20 #include "content/ppapi_plugin/plugin_process_dispatcher.h" | 21 #include "content/ppapi_plugin/plugin_process_dispatcher.h" |
21 #include "content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h" | 22 #include "content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h" |
22 #include "content/public/common/content_client.h" | 23 #include "content/public/common/content_client.h" |
23 #include "content/public/common/pepper_plugin_info.h" | 24 #include "content/public/common/pepper_plugin_info.h" |
24 #include "content/public/common/sandbox_init.h" | 25 #include "content/public/common/sandbox_init.h" |
25 #include "content/public/plugin/content_plugin_client.h" | 26 #include "content/public/plugin/content_plugin_client.h" |
26 #include "ipc/ipc_channel_handle.h" | 27 #include "ipc/ipc_channel_handle.h" |
27 #include "ipc/ipc_platform_file.h" | 28 #include "ipc/ipc_platform_file.h" |
28 #include "ipc/ipc_sync_channel.h" | 29 #include "ipc/ipc_sync_channel.h" |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 | 457 |
457 // plugin() is NULL when in-process. Which is fine, because this is | 458 // plugin() is NULL when in-process. Which is fine, because this is |
458 // just a hook for setting the process name. | 459 // just a hook for setting the process name. |
459 if (GetContentClient()->plugin()) { | 460 if (GetContentClient()->plugin()) { |
460 GetContentClient()->plugin()->PluginProcessStarted( | 461 GetContentClient()->plugin()->PluginProcessStarted( |
461 path.BaseName().RemoveExtension().LossyDisplayName()); | 462 path.BaseName().RemoveExtension().LossyDisplayName()); |
462 } | 463 } |
463 } | 464 } |
464 | 465 |
465 } // namespace content | 466 } // namespace content |
OLD | NEW |