diff options
author | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-15 07:36:50 +0000 |
---|---|---|
committer | alokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-15 07:36:50 +0000 |
commit | 41dbab71f2dd13c1cfad3b84d0e7bd5ef78bf6d4 (patch) | |
tree | 6ffb43c2950eb3c88268408e420649ab38e141eb /content/common/pepper_plugin_registry.cc | |
parent | 94fa1b671df11d068e34de63e0ad5612d99ccf89 (diff) | |
download | chromium_src-41dbab71f2dd13c1cfad3b84d0e7bd5ef78bf6d4.zip chromium_src-41dbab71f2dd13c1cfad3b84d0e7bd5ef78bf6d4.tar.gz chromium_src-41dbab71f2dd13c1cfad3b84d0e7bd5ef78bf6d4.tar.bz2 |
Removed the dependency of PepperPluginRegistry on Pepper proxy.
We would need to move PepperPluginRegistry to webkit/plugins/ppapi so that it can be used by test_shell. But before we can move it, we need to remove all dependencies on content and pepper/proxy.
TEST=Manually ran pepper 3d demos in-process and out-of-process.
Review URL: http://codereview.chromium.org/7885009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/pepper_plugin_registry.cc')
-rw-r--r-- | content/common/pepper_plugin_registry.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/content/common/pepper_plugin_registry.cc b/content/common/pepper_plugin_registry.cc index 9fb1381..80154f5 100644 --- a/content/common/pepper_plugin_registry.cc +++ b/content/common/pepper_plugin_registry.cc @@ -10,7 +10,6 @@ #include "base/string_split.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" -#include "content/common/child_process.h" #include "content/common/content_client.h" #include "content/common/content_switches.h" #include "webkit/plugins/npapi/plugin_list.h" @@ -250,13 +249,3 @@ PepperPluginRegistry::PepperPluginRegistry() { } } -base::MessageLoopProxy* PepperPluginRegistry::GetIPCMessageLoop() { - // This is called only in the renderer so we know we have a child process. - DCHECK(ChildProcess::current()) << "Must be in the renderer."; - return ChildProcess::current()->io_message_loop_proxy(); -} - -base::WaitableEvent* PepperPluginRegistry::GetShutdownEvent() { - DCHECK(ChildProcess::current()) << "Must be in the renderer."; - return ChildProcess::current()->GetShutDownEvent(); -} |