summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_instance_proxy.cc
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 03:29:20 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 03:29:20 +0000
commit27db60abdea8b46b6ff1ec9958d3b2b0a20e7ce7 (patch)
tree16154c3bfc019af7a692891fa08c498ac801a9f1 /ppapi/proxy/ppb_instance_proxy.cc
parent4252a15b70480f78d951f50d2699cd30e71c752b (diff)
downloadchromium_src-27db60abdea8b46b6ff1ec9958d3b2b0a20e7ce7.zip
chromium_src-27db60abdea8b46b6ff1ec9958d3b2b0a20e7ce7.tar.gz
chromium_src-27db60abdea8b46b6ff1ec9958d3b2b0a20e7ce7.tar.bz2
Apps V2 in Pepper: introduce singleton resource ExtensionsCommon.
ExtensionsCommon will be the plugin-renderer bridge for those 'simple' APIs whose input/output can be easily represented by base::ListValue. The host side implementation will be in a separate CL. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/13080002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_instance_proxy.cc')
-rw-r--r--ppapi/proxy/ppb_instance_proxy.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc
index 67c2a3e..43887a7 100644
--- a/ppapi/proxy/ppb_instance_proxy.cc
+++ b/ppapi/proxy/ppb_instance_proxy.cc
@@ -18,6 +18,7 @@
#include "ppapi/proxy/browser_font_singleton_resource.h"
#include "ppapi/proxy/content_decryptor_private_serializer.h"
#include "ppapi/proxy/enter_proxy.h"
+#include "ppapi/proxy/extensions_common_resource.h"
#include "ppapi/proxy/flash_clipboard_resource.h"
#include "ppapi/proxy/flash_file_resource.h"
#include "ppapi/proxy/flash_fullscreen_resource.h"
@@ -356,6 +357,9 @@ Resource* PPB_Instance_Proxy::GetSingletonResource(PP_Instance instance,
case BROKER_SINGLETON_ID:
new_singleton = new BrokerResource(connection, instance);
break;
+ case EXTENSIONS_COMMON_SINGLETON_ID:
+ new_singleton = new ExtensionsCommonResource(connection, instance);
+ break;
case GAMEPAD_SINGLETON_ID:
new_singleton = new GamepadResource(connection, instance);
break;