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

Unified Diff: ppapi/proxy/ppb_file_io_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_io_proxy.h
diff --git a/ppapi/proxy/ppb_file_io_proxy.h b/ppapi/proxy/ppb_file_io_proxy.h
index 86d822c1a3c476da1deaf86317ffe7f4614ced70..10e531382be826a0c0e227c9e13181e3756b3a27 100644
--- a/ppapi/proxy/ppb_file_io_proxy.h
+++ b/ppapi/proxy/ppb_file_io_proxy.h
@@ -10,7 +10,7 @@
#include "base/basictypes.h"
#include "ppapi/c/pp_file_info.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/utility/completion_callback_factory.h"
namespace ppapi {
@@ -82,8 +82,7 @@ class PPB_FileIO_Proxy : public InterfaceProxy {
void ReadCallbackCompleteInHost(int32_t pp_error,
const HostResource& host_resource,
std::string* data);
- pp::CompletionCallbackFactory<PPB_FileIO_Proxy,
- ProxyNonThreadSafeRefCount> callback_factory_;
+ ProxyCompletionCallbackFactory<PPB_FileIO_Proxy> callback_factory_;
DISALLOW_COPY_AND_ASSIGN(PPB_FileIO_Proxy);
};

Powered by Google App Engine
This is Rietveld 408576698