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

Side by Side Diff: content/renderer/p2p/socket_client_impl.h

Issue 450463002: Update webrtc&libjingle 6774:6825. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/p2p/socket_client.h ('k') | content/renderer/p2p/socket_client_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_P2P_SOCKET_CLIENT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_P2P_SOCKET_CLIENT_IMPL_H_
6 #define CONTENT_RENDERER_P2P_SOCKET_CLIENT_IMPL_H_ 6 #define CONTENT_RENDERER_P2P_SOCKET_CLIENT_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 29 matching lines...) Expand all
40 P2PSocketClientDelegate* delegate); 40 P2PSocketClientDelegate* delegate);
41 41
42 // Send the |data| to the |address|. 42 // Send the |data| to the |address|.
43 virtual void Send(const net::IPEndPoint& address, 43 virtual void Send(const net::IPEndPoint& address,
44 const std::vector<char>& data) OVERRIDE; 44 const std::vector<char>& data) OVERRIDE;
45 45
46 // Send the |data| to the |address| using Differentiated Services Code Point 46 // Send the |data| to the |address| using Differentiated Services Code Point
47 // |dscp|. 47 // |dscp|.
48 virtual void SendWithDscp(const net::IPEndPoint& address, 48 virtual void SendWithDscp(const net::IPEndPoint& address,
49 const std::vector<char>& data, 49 const std::vector<char>& data,
50 const talk_base::PacketOptions& options) OVERRIDE; 50 const rtc::PacketOptions& options) OVERRIDE;
51 51
52 // Setting socket options. 52 // Setting socket options.
53 virtual void SetOption(P2PSocketOption option, int value) OVERRIDE; 53 virtual void SetOption(P2PSocketOption option, int value) OVERRIDE;
54 54
55 // Must be called before the socket is destroyed. The delegate may 55 // Must be called before the socket is destroyed. The delegate may
56 // not be called after |closed_task| is executed. 56 // not be called after |closed_task| is executed.
57 virtual void Close() OVERRIDE; 57 virtual void Close() OVERRIDE;
58 58
59 virtual int GetSocketID() const OVERRIDE; 59 virtual int GetSocketID() const OVERRIDE;
60 60
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // These two fields are used to identify packets for tracing. 117 // These two fields are used to identify packets for tracing.
118 uint32 random_socket_id_; 118 uint32 random_socket_id_;
119 uint32 next_packet_id_; 119 uint32 next_packet_id_;
120 120
121 DISALLOW_COPY_AND_ASSIGN(P2PSocketClientImpl); 121 DISALLOW_COPY_AND_ASSIGN(P2PSocketClientImpl);
122 }; 122 };
123 123
124 } // namespace content 124 } // namespace content
125 125
126 #endif // CONTENT_RENDERER_P2P_SOCKET_CLIENT_IMPL_H_ 126 #endif // CONTENT_RENDERER_P2P_SOCKET_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/p2p/socket_client.h ('k') | content/renderer/p2p/socket_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698