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

Unified Diff: ppapi/thunk/ppb_flash_drm_thunk.cc

Issue 15491006: Rename PPB_Flash_DeviceID interface to PPB_Flash_DRM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/thunk/ppb_flash_drm_api.h ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_flash_drm_thunk.cc
diff --git a/ppapi/thunk/ppb_flash_device_id_thunk.cc b/ppapi/thunk/ppb_flash_drm_thunk.cc
similarity index 60%
copy from ppapi/thunk/ppb_flash_device_id_thunk.cc
copy to ppapi/thunk/ppb_flash_drm_thunk.cc
index 595fdc717692b38ac64f8a957a24d89f2f643ca4..5d1176d1e711d2f345cf7bdc192975b91f485869 100644
--- a/ppapi/thunk/ppb_flash_device_id_thunk.cc
+++ b/ppapi/thunk/ppb_flash_drm_thunk.cc
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// From private/ppb_flash_device_id.idl modified Thu Dec 20 13:10:26 2012.
+// From private/ppb_flash_drm.idl modified Mon May 20 13:45:09 2013.
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
-#include "ppapi/c/private/ppb_flash_device_id.h"
+#include "ppapi/c/private/ppb_flash_drm.h"
#include "ppapi/shared_impl/tracked_callback.h"
#include "ppapi/thunk/enter.h"
-#include "ppapi/thunk/ppb_flash_device_id_api.h"
+#include "ppapi/thunk/ppb_flash_drm_api.h"
#include "ppapi/thunk/ppb_instance_api.h"
#include "ppapi/thunk/resource_creation_api.h"
#include "ppapi/thunk/thunk.h"
@@ -20,32 +20,32 @@ namespace thunk {
namespace {
PP_Resource Create(PP_Instance instance) {
- VLOG(4) << "PPB_Flash_DeviceID::Create()";
+ VLOG(4) << "PPB_Flash_DRM::Create()";
EnterResourceCreation enter(instance);
if (enter.failed())
return 0;
- return enter.functions()->CreateFlashDeviceID(instance);
+ return enter.functions()->CreateFlashDRM(instance);
}
-int32_t GetDeviceID(PP_Resource device_id,
+int32_t GetDeviceID(PP_Resource drm,
struct PP_Var* id,
struct PP_CompletionCallback callback) {
- VLOG(4) << "PPB_Flash_DeviceID::GetDeviceID()";
- EnterResource<PPB_Flash_DeviceID_API> enter(device_id, callback, true);
+ VLOG(4) << "PPB_Flash_DRM::GetDeviceID()";
+ EnterResource<PPB_Flash_DRM_API> enter(drm, callback, true);
if (enter.failed())
return enter.retval();
return enter.SetResult(enter.object()->GetDeviceID(id, enter.callback()));
}
-const PPB_Flash_DeviceID_1_0 g_ppb_flash_deviceid_thunk_1_0 = {
+const PPB_Flash_DRM_1_0 g_ppb_flash_drm_thunk_1_0 = {
&Create,
&GetDeviceID
};
} // namespace
-const PPB_Flash_DeviceID_1_0* GetPPB_Flash_DeviceID_1_0_Thunk() {
- return &g_ppb_flash_deviceid_thunk_1_0;
+const PPB_Flash_DRM_1_0* GetPPB_Flash_DRM_1_0_Thunk() {
+ return &g_ppb_flash_drm_thunk_1_0;
}
} // namespace thunk
« no previous file with comments | « ppapi/thunk/ppb_flash_drm_api.h ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698