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

Side by Side Diff: webrtc/p2p/base/portinterface.h

Issue 1303393002: Reland "Remove GICE (gone forever!) and PORTALLOCATOR_ENABLE_SHARED_UFRAG (enabled forever)." becau… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add memcheck suppression Created 5 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
« no previous file with comments | « webrtc/p2p/base/portallocator.cc ('k') | webrtc/p2p/base/rawtransport.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2012 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 25 matching lines...) Expand all
36 // Defines the interface for a port, which represents a local communication 36 // Defines the interface for a port, which represents a local communication
37 // mechanism that can be used to create connections to similar mechanisms of 37 // mechanism that can be used to create connections to similar mechanisms of
38 // the other client. Various types of ports will implement this interface. 38 // the other client. Various types of ports will implement this interface.
39 class PortInterface { 39 class PortInterface {
40 public: 40 public:
41 virtual ~PortInterface() {} 41 virtual ~PortInterface() {}
42 42
43 virtual const std::string& Type() const = 0; 43 virtual const std::string& Type() const = 0;
44 virtual rtc::Network* Network() const = 0; 44 virtual rtc::Network* Network() const = 0;
45 45
46 virtual void SetIceProtocolType(IceProtocolType protocol) = 0;
47 virtual IceProtocolType IceProtocol() const = 0;
48
49 // Methods to set/get ICE role and tiebreaker values. 46 // Methods to set/get ICE role and tiebreaker values.
50 virtual void SetIceRole(IceRole role) = 0; 47 virtual void SetIceRole(IceRole role) = 0;
51 virtual IceRole GetIceRole() const = 0; 48 virtual IceRole GetIceRole() const = 0;
52 49
53 virtual void SetIceTiebreaker(uint64 tiebreaker) = 0; 50 virtual void SetIceTiebreaker(uint64 tiebreaker) = 0;
54 virtual uint64 IceTiebreaker() const = 0; 51 virtual uint64 IceTiebreaker() const = 0;
55 52
56 virtual bool SharedSocket() const = 0; 53 virtual bool SharedSocket() const = 0;
57 54
58 // PrepareAddress will attempt to get an address for this port that other 55 // PrepareAddress will attempt to get an address for this port that other
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 114
118 virtual std::string ToString() const = 0; 115 virtual std::string ToString() const = 0;
119 116
120 protected: 117 protected:
121 PortInterface() {} 118 PortInterface() {}
122 }; 119 };
123 120
124 } // namespace cricket 121 } // namespace cricket
125 122
126 #endif // WEBRTC_P2P_BASE_PORTINTERFACE_H_ 123 #endif // WEBRTC_P2P_BASE_PORTINTERFACE_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/portallocator.cc ('k') | webrtc/p2p/base/rawtransport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698