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

Unified Diff: content/public/renderer/p2p_socket_client.h

Issue 170193002: Adding talk_base::PacketOptions to P2P IPC Send message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/content_common.gypi ('k') | content/renderer/p2p/ipc_socket_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/p2p_socket_client.h
diff --git a/content/public/renderer/p2p_socket_client.h b/content/public/renderer/p2p_socket_client.h
index be3f78a222143f3f9abe1abfdcff91318606d71b..2efd4489e67efcbf5f4353bac5a1d0c914ba0396 100644
--- a/content/public/renderer/p2p_socket_client.h
+++ b/content/public/renderer/p2p_socket_client.h
@@ -12,6 +12,10 @@
#include "content/public/common/p2p_socket_type.h"
#include "net/base/ip_endpoint.h"
+namespace talk_base {
+struct PacketOptions;
+};
+
namespace content {
class P2PSocketClientDelegate;
@@ -40,9 +44,9 @@ class CONTENT_EXPORT P2PSocketClient :
// Send the |data| to the |address| using Differentiated Services Code Point
// |dscp|.
- virtual void SendWithDscp(const net::IPEndPoint& address,
- const std::vector<char>& data,
- net::DiffServCodePoint dscp) = 0;
+ virtual void SendWithOptions(const net::IPEndPoint& address,
+ const std::vector<char>& data,
+ const talk_base::PacketOptions& options) = 0;
virtual void SetOption(P2PSocketOption option, int value) = 0;
« no previous file with comments | « content/content_common.gypi ('k') | content/renderer/p2p/ipc_socket_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698