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/browser/renderer_host/pepper/browser_ppapi_host_impl.h" | 5 #include "content/browser/renderer_host/pepper/browser_ppapi_host_impl.h" |
6 | 6 |
7 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" | 7 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" |
8 #include "content/browser/trace_message_filter.h" | 8 #include "content/browser/tracing/trace_message_filter.h" |
9 #include "content/common/pepper_renderer_instance_data.h" | 9 #include "content/common/pepper_renderer_instance_data.h" |
10 #include "content/public/browser/render_view_host.h" | 10 #include "content/public/browser/render_view_host.h" |
11 #include "content/public/common/process_type.h" | 11 #include "content/public/common/process_type.h" |
12 #include "ipc/ipc_message_macros.h" | 12 #include "ipc/ipc_message_macros.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 // static | 16 // static |
17 BrowserPpapiHost* BrowserPpapiHost::CreateExternalPluginProcess( | 17 BrowserPpapiHost* BrowserPpapiHost::CreateExternalPluginProcess( |
18 IPC::Sender* sender, | 18 IPC::Sender* sender, |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 */ | 155 */ |
156 return ppapi_host_->OnMessageReceived(msg); | 156 return ppapi_host_->OnMessageReceived(msg); |
157 } | 157 } |
158 | 158 |
159 void BrowserPpapiHostImpl::HostMessageFilter::OnHostDestroyed() { | 159 void BrowserPpapiHostImpl::HostMessageFilter::OnHostDestroyed() { |
160 DCHECK(ppapi_host_); | 160 DCHECK(ppapi_host_); |
161 ppapi_host_ = NULL; | 161 ppapi_host_ = NULL; |
162 } | 162 } |
163 | 163 |
164 } // namespace content | 164 } // namespace content |
OLD | NEW |