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

Side by Side Diff: content/plugin/plugin_thread.cc

Issue 16328003: Move a bunch of child-only code from content/common to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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
« no previous file with comments | « content/plugin/plugin_thread.h ('k') | content/ppapi_plugin/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/plugin/plugin_thread.h" 5 #include "content/plugin/plugin_thread.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #if defined(TOOLKIT_GTK) 9 #if defined(TOOLKIT_GTK)
10 #include <gtk/gtk.h> 10 #include <gtk/gtk.h>
11 #elif defined(OS_MACOSX) 11 #elif defined(OS_MACOSX)
12 #include <CoreFoundation/CoreFoundation.h> 12 #include <CoreFoundation/CoreFoundation.h>
13 #endif 13 #endif
14 14
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "base/bind.h" 18 #include "base/bind.h"
19 #include "base/command_line.h" 19 #include "base/command_line.h"
20 #include "base/lazy_instance.h" 20 #include "base/lazy_instance.h"
21 #include "base/process_util.h" 21 #include "base/process_util.h"
22 #include "base/threading/thread_local.h" 22 #include "base/threading/thread_local.h"
23 #include "content/child/child_process.h"
23 #include "content/child/npobject_util.h" 24 #include "content/child/npobject_util.h"
24 #include "content/common/child_process.h"
25 #include "content/common/plugin_process_messages.h" 25 #include "content/common/plugin_process_messages.h"
26 #include "content/public/common/content_switches.h" 26 #include "content/public/common/content_switches.h"
27 #include "content/public/plugin/content_plugin_client.h" 27 #include "content/public/plugin/content_plugin_client.h"
28 #include "ipc/ipc_channel_handle.h" 28 #include "ipc/ipc_channel_handle.h"
29 #include "webkit/glue/webkit_glue.h" 29 #include "webkit/glue/webkit_glue.h"
30 #include "webkit/plugins/npapi/plugin_lib.h" 30 #include "webkit/plugins/npapi/plugin_lib.h"
31 #include "webkit/plugins/npapi/plugin_list.h" 31 #include "webkit/plugins/npapi/plugin_list.h"
32 #include "webkit/plugins/npapi/plugin_utils.h" 32 #include "webkit/plugins/npapi/plugin_utils.h"
33 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" 33 #include "webkit/plugins/npapi/webplugin_delegate_impl.h"
34 34
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 185 }
186 186
187 Send(new PluginProcessHostMsg_ChannelCreated(channel_handle)); 187 Send(new PluginProcessHostMsg_ChannelCreated(channel_handle));
188 } 188 }
189 189
190 void PluginThread::OnNotifyRenderersOfPendingShutdown() { 190 void PluginThread::OnNotifyRenderersOfPendingShutdown() {
191 PluginChannel::NotifyRenderersOfPendingShutdown(); 191 PluginChannel::NotifyRenderersOfPendingShutdown();
192 } 192 }
193 193
194 } // namespace content 194 } // namespace content
OLDNEW
« no previous file with comments | « content/plugin/plugin_thread.h ('k') | content/ppapi_plugin/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698