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

Unified Diff: ppapi/proxy/ppb_broker_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_broker_proxy.h
diff --git a/ppapi/proxy/ppb_broker_proxy.h b/ppapi/proxy/ppb_broker_proxy.h
index a04903c745d360577dd94c335cd3740ffdbeb0d7..5bc195afa501f49e8a512355bf53680af1a449d2 100644
--- a/ppapi/proxy/ppb_broker_proxy.h
+++ b/ppapi/proxy/ppb_broker_proxy.h
@@ -9,7 +9,7 @@
#include "ipc/ipc_platform_file.h"
#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/utility/completion_callback_factory.h"
namespace ppapi {
@@ -41,8 +41,7 @@ class PPB_Broker_Proxy : public InterfaceProxy {
void ConnectCompleteInHost(int32_t result,
const ppapi::HostResource& host_resource);
- pp::CompletionCallbackFactory<PPB_Broker_Proxy,
- ProxyNonThreadSafeRefCount> callback_factory_;
+ ProxyCompletionCallbackFactory<PPB_Broker_Proxy> callback_factory_;
};
} // namespace proxy

Powered by Google App Engine
This is Rietveld 408576698