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

Unified Diff: ppapi/cpp/dev/video_decoder_client_dev.h

Issue 9381010: Convert resources to take an instance key instead of an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH TITLE Created 8 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
« no previous file with comments | « ppapi/cpp/dev/video_capture_dev.cc ('k') | ppapi/cpp/dev/video_decoder_client_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/video_decoder_client_dev.h
diff --git a/ppapi/cpp/dev/video_decoder_client_dev.h b/ppapi/cpp/dev/video_decoder_client_dev.h
index 72807363a05ab01ed2dbd7426cc4462089ebf9c8..77aa1358a660d0d23cbae6cb9be1656f5392cfa7 100644
--- a/ppapi/cpp/dev/video_decoder_client_dev.h
+++ b/ppapi/cpp/dev/video_decoder_client_dev.h
@@ -7,10 +7,10 @@
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/dev/pp_video_dev.h"
+#include "ppapi/cpp/instance_handle.h"
namespace pp {
-class Instance;
class VideoDecoder_Dev;
// This class provides a C++ interface for callbacks related to video decoding.
@@ -19,7 +19,7 @@ class VideoDecoder_Dev;
// instance.
class VideoDecoderClient_Dev {
public:
- VideoDecoderClient_Dev(Instance* instance);
+ VideoDecoderClient_Dev(const InstanceHandle& instance);
virtual ~VideoDecoderClient_Dev();
// Callback to provide buffers for the decoded output pictures.
@@ -41,7 +41,7 @@ class VideoDecoderClient_Dev {
PP_VideoDecodeError_Dev error) = 0;
private:
- Instance* associated_instance_;
+ InstanceHandle associated_instance_;
};
} // namespace pp
« no previous file with comments | « ppapi/cpp/dev/video_capture_dev.cc ('k') | ppapi/cpp/dev/video_decoder_client_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698