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

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

Issue 177603002: Revert 252408 "Adding talk_base::PacketOptions to P2P IPC Send m..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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 | « trunk/src/content/content_common.gypi ('k') | trunk/src/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: trunk/src/content/public/renderer/p2p_socket_client.h
===================================================================
--- trunk/src/content/public/renderer/p2p_socket_client.h (revision 252899)
+++ trunk/src/content/public/renderer/p2p_socket_client.h (working copy)
@@ -12,10 +12,6 @@
#include "content/public/common/p2p_socket_type.h"
#include "net/base/ip_endpoint.h"
-namespace talk_base {
-struct PacketOptions;
-};
-
namespace content {
class P2PSocketClientDelegate;
@@ -44,9 +40,9 @@
// Send the |data| to the |address| using Differentiated Services Code Point
// |dscp|.
- virtual void SendWithOptions(const net::IPEndPoint& address,
- const std::vector<char>& data,
- const talk_base::PacketOptions& options) = 0;
+ virtual void SendWithDscp(const net::IPEndPoint& address,
+ const std::vector<char>& data,
+ net::DiffServCodePoint dscp) = 0;
virtual void SetOption(P2PSocketOption option, int value) = 0;
« no previous file with comments | « trunk/src/content/content_common.gypi ('k') | trunk/src/content/renderer/p2p/ipc_socket_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698