Chromium Code Reviews| Index: chrome/renderer/chrome_ppapi_interfaces.cc |
| diff --git a/chrome/renderer/chrome_ppapi_interfaces.cc b/chrome/renderer/chrome_ppapi_interfaces.cc |
| index 9138cc85b6c22492fa0bb6d86e3b702b849467ad..734ef0766e5ce64ff69ff74823cbf0c4a77e77f1 100644 |
| --- a/chrome/renderer/chrome_ppapi_interfaces.cc |
| +++ b/chrome/renderer/chrome_ppapi_interfaces.cc |
| @@ -10,6 +10,7 @@ |
| #include "base/utf_string_conversions.h" |
| #include "chrome/common/render_messages.h" |
| #include "chrome/renderer/chrome_ppb_pdf_impl.h" |
| +#include "content/public/common/content_client.h" |
|
jam
2011/11/02 21:42:41
nit: not needed
Dirk Pranke
2011/11/02 22:09:25
Done.
|
| #include "content/public/common/content_switches.h" |
| #include "content/public/renderer/render_thread.h" |
| #include "ppapi/c/private/ppb_nacl_private.h" |
| @@ -88,16 +89,4 @@ const void* ChromePPAPIInterfaceFactory(const std::string& interface_name) { |
| return NULL; |
| } |
| -void InitializePPAPI() { |
| - webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager = |
| - webkit::ppapi::PpapiInterfaceFactoryManager::GetInstance(); |
| - factory_manager->RegisterFactory(ChromePPAPIInterfaceFactory); |
| -} |
| - |
| -void UninitializePPAPI() { |
| - webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager = |
| - webkit::ppapi::PpapiInterfaceFactoryManager::GetInstance(); |
| - factory_manager->UnregisterFactory(ChromePPAPIInterfaceFactory); |
| -} |
| - |
| } // namespace chrome |