From 47a961c13f61cdbd00a7020a5a8173586a8ed892 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Fri, 13 Jul 2012 19:18:52 +0000 Subject: 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 --- ppapi/cpp/websocket.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ppapi/cpp/websocket.h') diff --git a/ppapi/cpp/websocket.h b/ppapi/cpp/websocket.h index a34fdb7..0c72dc0 100644 --- a/ppapi/cpp/websocket.h +++ b/ppapi/cpp/websocket.h @@ -12,6 +12,11 @@ /// This file defines the WebSocket interface providing bi-directional, /// full-duplex, communications over a single TCP socket. +// Windows headers will redefine SendMessage. +#ifdef SendMessage +#undef SendMessage +#endif + namespace pp { class CompletionCallback; -- cgit v1.1