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

Unified Diff: ppapi/thunk/ppb_var_resource_thunk.cc

Issue 148213016: [PPAPI] Moving pp::VarResource_Dev API into pp::Var (now stable). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
Index: ppapi/thunk/ppb_var_resource_thunk.cc
diff --git a/ppapi/thunk/ppb_var_resource_dev_thunk.cc b/ppapi/thunk/ppb_var_resource_thunk.cc
similarity index 82%
rename from ppapi/thunk/ppb_var_resource_dev_thunk.cc
rename to ppapi/thunk/ppb_var_resource_thunk.cc
index e02ea5d14ec6e04c435bdc7996ec2ee8297ea1e3..747ccaecae796a4d26d363757a869aaad78d6d91 100644
--- a/ppapi/thunk/ppb_var_resource_dev_thunk.cc
+++ b/ppapi/thunk/ppb_var_resource_thunk.cc
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ppapi/c/dev/ppb_var_resource_dev.h"
#include "ppapi/c/pp_var.h"
+#include "ppapi/c/ppb_var_resource.h"
#include "ppapi/shared_impl/ppapi_globals.h"
#include "ppapi/shared_impl/proxy_lock.h"
#include "ppapi/shared_impl/resource_tracker.h"
@@ -31,15 +31,15 @@ struct PP_Var VarFromResource(PP_Resource resource) {
return PpapiGlobals::Get()->GetVarTracker()->MakeResourcePPVar(resource);
}
-const PPB_VarResource_Dev_0_1 g_ppb_varresource_dev_0_1_thunk = {
+const PPB_VarResource_1_0 g_ppb_varresource_1_0_thunk = {
&VarToResource,
&VarFromResource
};
} // namespace
-const PPB_VarResource_Dev_0_1* GetPPB_VarResource_Dev_0_1_Thunk() {
- return &g_ppb_varresource_dev_0_1_thunk;
+const PPB_VarResource_1_0* GetPPB_VarResource_1_0_Thunk() {
+ return &g_ppb_varresource_1_0_thunk;
}
} // namespace thunk
« ppapi/thunk/interfaces_ppb_public_dev.h ('K') | « ppapi/thunk/ppb_var_resource_dev_thunk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698