summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_broker_proxy.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-13 19:18:52 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-13 19:18:52 +0000
commit47a961c13f61cdbd00a7020a5a8173586a8ed892 (patch)
treea89ea8f0c81f5c74cb5bcaf852e4e83ab21fbc75 /ppapi/proxy/ppb_broker_proxy.h
parent8367f7b3aab8365ed5e696e4720a2a416d956d0a (diff)
downloadchromium_src-47a961c13f61cdbd00a7020a5a8173586a8ed892.zip
chromium_src-47a961c13f61cdbd00a7020a5a8173586a8ed892.tar.gz
chromium_src-47a961c13f61cdbd00a7020a5a8173586a8ed892.tar.bz2
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
Diffstat (limited to 'ppapi/proxy/ppb_broker_proxy.h')
-rw-r--r--ppapi/proxy/ppb_broker_proxy.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ppapi/proxy/ppb_broker_proxy.h b/ppapi/proxy/ppb_broker_proxy.h
index a04903c7..5bc195a 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