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

Unified Diff: ppapi/proxy/ppb_video_decoder_proxy.h

Issue 10696157: Add support for threadsafe completion callback factory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: ppapi/proxy/ppb_video_decoder_proxy.h
diff --git a/ppapi/proxy/ppb_video_decoder_proxy.h b/ppapi/proxy/ppb_video_decoder_proxy.h
index 7461a1fdfc324bbc299513c86dd13f0715c6980f..ffb259e7b76f92e328ed1fe9e994bf58efe4bcfe 100644
--- a/ppapi/proxy/ppb_video_decoder_proxy.h
+++ b/ppapi/proxy/ppb_video_decoder_proxy.h
@@ -7,7 +7,7 @@
#include "ppapi/c/pp_instance.h"
#include "ppapi/proxy/interface_proxy.h"
-#include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
+#include "ppapi/proxy/proxy_completion_callback_factory.h"
#include "ppapi/shared_impl/ppb_video_decoder_shared.h"
#include "ppapi/thunk/ppb_video_decoder_api.h"
#include "ppapi/utility/completion_callback_factory.h"
@@ -67,8 +67,7 @@ class PPB_VideoDecoder_Proxy : public InterfaceProxy {
void OnMsgFlushACK(const ppapi::HostResource& decoder, int32_t result);
void OnMsgResetACK(const ppapi::HostResource& decoder, int32_t result);
- pp::CompletionCallbackFactory<PPB_VideoDecoder_Proxy,
- ProxyNonThreadSafeRefCount> callback_factory_;
+ ProxyCompletionCallbackFactory<PPB_VideoDecoder_Proxy> callback_factory_;
DISALLOW_COPY_AND_ASSIGN(PPB_VideoDecoder_Proxy);
};

Powered by Google App Engine
This is Rietveld 408576698