Add support for threadsafe completion callback factory.

This also makes the default be threadsafe. The old factory wasn't threadsafe even to the extent claimed in the header which was causing hangs in plugins

BUG=136284

Review URL: https://chromiumcodereview.appspot.com/10696157

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146611 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ppapi/proxy/ppb_video_decoder_proxy.h b/ppapi/proxy/ppb_video_decoder_proxy.h
index 7461a1f..ffb259e7 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 @@
   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);
 };