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

Unified Diff: ppapi/c/dev/ppb_transport_dev.h

Issue 7888022: Add DISABLE_TCP_TRANSPORT flag in the Transport API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 3 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
« no previous file with comments | « content/renderer/p2p/port_allocator.cc ('k') | remoting/protocol/pepper_stream_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_transport_dev.h
diff --git a/ppapi/c/dev/ppb_transport_dev.h b/ppapi/c/dev/ppb_transport_dev.h
index 159b7842adf62a805fab97e803620982c5a3ad79..963bd17e2289dde30e5e5f5cd88073ccb3a2faed 100644
--- a/ppapi/c/dev/ppb_transport_dev.h
+++ b/ppapi/c/dev/ppb_transport_dev.h
@@ -53,7 +53,11 @@ typedef enum {
PP_TRANSPORTPROPERTY_TCP_NO_DELAY = 7,
// Delay for ACK packets in milliseconds. By default set to 100ms.
- PP_TRANSPORTPROPERTY_TCP_ACK_DELAY = 8
+ PP_TRANSPORTPROPERTY_TCP_ACK_DELAY = 8,
+
+ // Boolean value that disables TCP-based transports when set to
+ // true. By default set to false.
+ PP_TRANSPORTPROPERTY_DISABLE_TCP_TRANSPORT = 9
} PP_TransportProperty;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_TransportProperty, 4);
« no previous file with comments | « content/renderer/p2p/port_allocator.cc ('k') | remoting/protocol/pepper_stream_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698