summaryrefslogtreecommitdiffstats
path: root/content/plugin/plugin_thread.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-17 22:24:43 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-17 22:24:43 +0000
commit490f79c179cc9df090dc68e36949ecc3458793da (patch)
tree1792cef02967fb6f8abe77e05d1f8ad015603ffb /content/plugin/plugin_thread.cc
parent3ffd3aec671a91b110860fc7c956f4d11a5be680 (diff)
downloadchromium_src-490f79c179cc9df090dc68e36949ecc3458793da.zip
chromium_src-490f79c179cc9df090dc68e36949ecc3458793da.tar.gz
chromium_src-490f79c179cc9df090dc68e36949ecc3458793da.tar.bz2
Add separate ContentClient interfaces for gpu/plugin/renderer processes. Since we don't have a need for a chrome/gpu or chrome/plugin directory, their chrome implementations are in chrome/common. Use the renderer one for getting the sad plugin image.
Review URL: http://codereview.chromium.org/6708013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/plugin/plugin_thread.cc')
-rw-r--r--content/plugin/plugin_thread.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/plugin/plugin_thread.cc b/content/plugin/plugin_thread.cc
index c2ca935..1d14c22 100644
--- a/content/plugin/plugin_thread.cc
+++ b/content/plugin/plugin_thread.cc
@@ -20,10 +20,10 @@
#include "base/process_util.h"
#include "base/threading/thread_local.h"
#include "content/common/child_process.h"
-#include "content/common/content_client.h"
#include "content/common/content_switches.h"
#include "content/common/child_process_messages.h"
#include "content/common/plugin_messages.h"
+#include "content/plugin/content_plugin_client.h"
#include "content/plugin/npobject_util.h"
#include "ipc/ipc_channel_handle.h"
#include "net/base/net_errors.h"
@@ -81,7 +81,7 @@ PluginThread::PluginThread()
if (plugin.get())
plugin->NP_Initialize();
- content::GetContentClient()->PluginProcessStarted(
+ content::GetContentClient()->plugin()->PluginProcessStarted(
plugin.get() ? plugin->plugin_info().name : string16());
// Certain plugins, such as flash, steal the unhandled exception filter