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

Side by Side Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 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/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/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/browser_thread.h"
11 #include "content/public/browser/render_view_host.h" 10 #include "content/public/browser/render_view_host.h"
12 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
13 12
14 namespace content { 13 namespace content {
15 14
16 // static 15 // static
17 BrowserPpapiHost* BrowserPpapiHost::CreateExternalPluginProcess( 16 BrowserPpapiHost* BrowserPpapiHost::CreateExternalPluginProcess(
18 IPC::Sender* sender, 17 IPC::Sender* sender,
19 ppapi::PpapiPermissions permissions, 18 ppapi::PpapiPermissions permissions,
20 base::ProcessHandle plugin_child_process, 19 base::ProcessHandle plugin_child_process,
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 */ 151 */
153 return ppapi_host_->OnMessageReceived(msg); 152 return ppapi_host_->OnMessageReceived(msg);
154 } 153 }
155 154
156 void BrowserPpapiHostImpl::HostMessageFilter::OnHostDestroyed() { 155 void BrowserPpapiHostImpl::HostMessageFilter::OnHostDestroyed() {
157 DCHECK(ppapi_host_); 156 DCHECK(ppapi_host_);
158 ppapi_host_ = NULL; 157 ppapi_host_ = NULL;
159 } 158 }
160 159
161 } // namespace content 160 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/video_capture_manager.h ('k') | content/browser/renderer_host/pepper/pepper_udp_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698