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

Unified Diff: ppapi/proxy/ppb_file_chooser_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_file_chooser_proxy.h
diff --git a/ppapi/proxy/ppb_file_chooser_proxy.h b/ppapi/proxy/ppb_file_chooser_proxy.h
index 825d7c99d3e593fc36386a9119798a012d774cfe..1dc09211bfe7db273336c34bcac51feeae931e5f 100644
--- a/ppapi/proxy/ppb_file_chooser_proxy.h
+++ b/ppapi/proxy/ppb_file_chooser_proxy.h
@@ -12,7 +12,7 @@
#include "ppapi/c/pp_instance.h"
#include "ppapi/proxy/interface_proxy.h"
#include "ppapi/proxy/proxy_array_output.h"
-#include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
+#include "ppapi/proxy/proxy_completion_callback_factory.h"
#include "ppapi/proxy/serialized_var.h"
#include "ppapi/thunk/ppb_file_chooser_api.h"
#include "ppapi/cpp/output_traits.h"
@@ -64,8 +64,7 @@ class PPB_FileChooser_Proxy : public InterfaceProxy {
scoped_refptr<RefCountedArrayOutputAdapter<PP_Resource> > output,
HostResource chooser);
- pp::CompletionCallbackFactory<PPB_FileChooser_Proxy,
- ProxyNonThreadSafeRefCount> callback_factory_;
+ ProxyCompletionCallbackFactory<PPB_FileChooser_Proxy> callback_factory_;
DISALLOW_COPY_AND_ASSIGN(PPB_FileChooser_Proxy);
};

Powered by Google App Engine
This is Rietveld 408576698