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/renderer/pepper/pepper_plugin_delegate_impl.h" | 5 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 #include <cstddef> | 8 #include <cstddef> |
9 #include <map> | 9 #include <map> |
10 #include <queue> | 10 #include <queue> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/files/file_util_proxy.h" | 16 #include "base/files/file_util_proxy.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/strings/string_split.h" | 18 #include "base/strings/string_split.h" |
19 #include "base/sync_socket.h" | 19 #include "base/sync_socket.h" |
20 #include "base/time.h" | 20 #include "base/time/time.h" |
21 #include "content/child/child_process.h" | 21 #include "content/child/child_process.h" |
22 #include "content/child/child_thread.h" | 22 #include "content/child/child_thread.h" |
23 #include "content/child/fileapi/file_system_dispatcher.h" | 23 #include "content/child/fileapi/file_system_dispatcher.h" |
24 #include "content/child/quota_dispatcher.h" | 24 #include "content/child/quota_dispatcher.h" |
25 #include "content/common/child_process_messages.h" | 25 #include "content/common/child_process_messages.h" |
26 #include "content/common/fileapi/file_system_messages.h" | 26 #include "content/common/fileapi/file_system_messages.h" |
27 #include "content/common/gpu/client/context_provider_command_buffer.h" | 27 #include "content/common/gpu/client/context_provider_command_buffer.h" |
28 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 28 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
29 #include "content/common/pepper_messages.h" | 29 #include "content/common/pepper_messages.h" |
30 #include "content/common/pepper_plugin_registry.h" | 30 #include "content/common/pepper_plugin_registry.h" |
(...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1702 should_close_source); | 1702 should_close_source); |
1703 } | 1703 } |
1704 | 1704 |
1705 bool PepperPluginDelegateImpl::IsRunningInProcess(PP_Instance instance) const { | 1705 bool PepperPluginDelegateImpl::IsRunningInProcess(PP_Instance instance) const { |
1706 RendererPpapiHostImpl* host = | 1706 RendererPpapiHostImpl* host = |
1707 RendererPpapiHostImpl::GetForPPInstance(instance); | 1707 RendererPpapiHostImpl::GetForPPInstance(instance); |
1708 return host && host->IsRunningInProcess(); | 1708 return host && host->IsRunningInProcess(); |
1709 } | 1709 } |
1710 | 1710 |
1711 } // namespace content | 1711 } // namespace content |
OLD | NEW |