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

Side by Side Diff: ppapi/proxy/flash_drm_resource.h

Issue 21966004: Pepper: Move FileRef to the "new" resource proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/file_ref_resource.cc ('k') | ppapi/proxy/flash_drm_resource.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_PROXY_FLASH_DRM_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_FLASH_DRM_RESOURCE_H_
6 #define PPAPI_PROXY_FLASH_DRM_RESOURCE_H_ 6 #define PPAPI_PROXY_FLASH_DRM_RESOURCE_H_
7 7
8 #include "ppapi/proxy/plugin_resource.h" 8 #include "ppapi/proxy/plugin_resource.h"
9 #include "ppapi/proxy/ppapi_proxy_export.h" 9 #include "ppapi/proxy/ppapi_proxy_export.h"
10 #include "ppapi/shared_impl/tracked_callback.h" 10 #include "ppapi/shared_impl/tracked_callback.h"
11 #include "ppapi/thunk/ppb_flash_drm_api.h" 11 #include "ppapi/thunk/ppb_flash_drm_api.h"
12 12
13 namespace ppapi { 13 namespace ppapi {
14 struct PPB_FileRef_CreateInfo; 14 struct FileRefCreateInfo;
15 } 15 }
16 16
17 namespace ppapi { 17 namespace ppapi {
18 namespace proxy { 18 namespace proxy {
19 19
20 class FlashDRMResource 20 class FlashDRMResource
21 : public PluginResource, 21 : public PluginResource,
22 public thunk::PPB_Flash_DRM_API { 22 public thunk::PPB_Flash_DRM_API {
23 public: 23 public:
24 FlashDRMResource(Connection connection, 24 FlashDRMResource(Connection connection,
(...skipping 12 matching lines...) Expand all
37 scoped_refptr<TrackedCallback> callback) OVERRIDE; 37 scoped_refptr<TrackedCallback> callback) OVERRIDE;
38 38
39 private: 39 private:
40 void OnPluginMsgGetDeviceIDReply(PP_Var* dest, 40 void OnPluginMsgGetDeviceIDReply(PP_Var* dest,
41 scoped_refptr<TrackedCallback> callback, 41 scoped_refptr<TrackedCallback> callback,
42 const ResourceMessageReplyParams& params, 42 const ResourceMessageReplyParams& params,
43 const std::string& id); 43 const std::string& id);
44 void OnPluginMsgGetVoucherFileReply(PP_Resource* dest, 44 void OnPluginMsgGetVoucherFileReply(PP_Resource* dest,
45 scoped_refptr<TrackedCallback> callback, 45 scoped_refptr<TrackedCallback> callback,
46 const ResourceMessageReplyParams& params, 46 const ResourceMessageReplyParams& params,
47 const PPB_FileRef_CreateInfo& file_info); 47 const FileRefCreateInfo& file_info);
48 48
49 DISALLOW_COPY_AND_ASSIGN(FlashDRMResource); 49 DISALLOW_COPY_AND_ASSIGN(FlashDRMResource);
50 }; 50 };
51 51
52 } // namespace proxy 52 } // namespace proxy
53 } // namespace ppapi 53 } // namespace ppapi
54 54
55 #endif // PPAPI_PROXY_FLASH_DRM_RESOURCE_H_ 55 #endif // PPAPI_PROXY_FLASH_DRM_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/file_ref_resource.cc ('k') | ppapi/proxy/flash_drm_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698