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

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

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 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/pseudotcp.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 29 matching lines...) Expand all
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 // Methods to set/get ICE role and tiebreaker values. 46 // Methods to set/get ICE role and tiebreaker values.
47 virtual void SetIceRole(IceRole role) = 0; 47 virtual void SetIceRole(IceRole role) = 0;
48 virtual IceRole GetIceRole() const = 0; 48 virtual IceRole GetIceRole() const = 0;
49 49
50 virtual void SetIceTiebreaker(uint64 tiebreaker) = 0; 50 virtual void SetIceTiebreaker(uint64_t tiebreaker) = 0;
51 virtual uint64 IceTiebreaker() const = 0; 51 virtual uint64_t IceTiebreaker() const = 0;
52 52
53 virtual bool SharedSocket() const = 0; 53 virtual bool SharedSocket() const = 0;
54 54
55 // 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
56 // clients can send to. It may take some time before the address is ready. 56 // clients can send to. It may take some time before the address is ready.
57 // Once it is ready, we will send SignalAddressReady. If errors are 57 // Once it is ready, we will send SignalAddressReady. If errors are
58 // preventing the port from getting an address, it may send 58 // preventing the port from getting an address, it may send
59 // SignalAddressError. 59 // SignalAddressError.
60 virtual void PrepareAddress() = 0; 60 virtual void PrepareAddress() = 0;
61 61
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 virtual std::string ToString() const = 0; 115 virtual std::string ToString() const = 0;
116 116
117 protected: 117 protected:
118 PortInterface() {} 118 PortInterface() {}
119 }; 119 };
120 120
121 } // namespace cricket 121 } // namespace cricket
122 122
123 #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/pseudotcp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698