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

Unified Diff: ppapi/cpp/websocket.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/cpp/websocket.h
diff --git a/ppapi/cpp/websocket.h b/ppapi/cpp/websocket.h
index a34fdb7731ebfad36af041788f3a2e2c389340f5..0c72dc0eda9fd578a9bd8d714e7a72e94a1902a9 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;

Powered by Google App Engine
This is Rietveld 408576698