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

Unified Diff: ppapi/proxy/ppb_instance_proxy.cc

Issue 7292033: First pass at freezing stable pepper interfaces to 1.0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.h ('k') | ppapi/thunk/ppb_instance_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_instance_proxy.cc
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc
index 7c3827fb3532bf5b39d8d1946f820c1f16d2a7e0..5a6158addbdf2b4dfea3aa228fdbb460c1bf230d 100644
--- a/ppapi/proxy/ppb_instance_proxy.cc
+++ b/ppapi/proxy/ppb_instance_proxy.cc
@@ -51,7 +51,7 @@ const InterfaceProxy::Info* PPB_Instance_Proxy::GetInfo0_4() {
static const Info info = {
ppapi::thunk::GetPPB_Instance_0_4_Thunk(),
PPB_INSTANCE_INTERFACE_0_4,
- INTERFACE_ID_NONE, // 0_5 is the canonical one.
+ INTERFACE_ID_NONE, // 1_0 is the canonical one.
false,
&CreateInstanceProxy,
};
@@ -61,8 +61,20 @@ const InterfaceProxy::Info* PPB_Instance_Proxy::GetInfo0_4() {
// static
const InterfaceProxy::Info* PPB_Instance_Proxy::GetInfo0_5() {
static const Info info = {
- ppapi::thunk::GetPPB_Instance_0_5_Thunk(),
+ ppapi::thunk::GetPPB_Instance_1_0_Thunk(),
PPB_INSTANCE_INTERFACE_0_5,
+ INTERFACE_ID_NONE, // 1_0 is the canonical one.
+ false,
+ &CreateInstanceProxy,
+ };
+ return &info;
+}
+
+// static
+const InterfaceProxy::Info* PPB_Instance_Proxy::GetInfo1_0() {
+ static const Info info = {
+ ppapi::thunk::GetPPB_Instance_1_0_Thunk(),
+ PPB_INSTANCE_INTERFACE_1_0,
INTERFACE_ID_PPB_INSTANCE,
false,
&CreateInstanceProxy,
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.h ('k') | ppapi/thunk/ppb_instance_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698