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

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

Issue 2609783002: Reland of place basictypes.h with stdint.h for int_t types. (Closed)
Patch Set: add basictypes.h to systeminfo.cc Created 3 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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
11 #ifndef WEBRTC_P2P_BASE_CANDIDATE_H_ 11 #ifndef WEBRTC_P2P_BASE_CANDIDATE_H_
12 #define WEBRTC_P2P_BASE_CANDIDATE_H_ 12 #define WEBRTC_P2P_BASE_CANDIDATE_H_
13 13
14 #include <limits.h> 14 #include <limits.h>
15 #include <math.h> 15 #include <math.h>
16 #include <stdint.h>
16 17
17 #include <algorithm> 18 #include <algorithm>
18 #include <iomanip> 19 #include <iomanip>
19 #include <sstream> 20 #include <sstream>
20 #include <string> 21 #include <string>
21 22
22 #include "webrtc/p2p/base/p2pconstants.h" 23 #include "webrtc/p2p/base/p2pconstants.h"
23 #include "webrtc/base/basictypes.h"
24 #include "webrtc/base/helpers.h" 24 #include "webrtc/base/helpers.h"
25 #include "webrtc/base/network.h" 25 #include "webrtc/base/network.h"
26 #include "webrtc/base/socketaddress.h" 26 #include "webrtc/base/socketaddress.h"
27 27
28 namespace cricket { 28 namespace cricket {
29 29
30 // Candidate for ICE based connection discovery. 30 // Candidate for ICE based connection discovery.
31 31
32 class Candidate { 32 class Candidate {
33 public: 33 public:
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 virtual ~CandidateTranslator() {} 293 virtual ~CandidateTranslator() {}
294 virtual bool GetChannelNameFromComponent( 294 virtual bool GetChannelNameFromComponent(
295 int component, std::string* channel_name) const = 0; 295 int component, std::string* channel_name) const = 0;
296 virtual bool GetComponentFromChannelName( 296 virtual bool GetComponentFromChannelName(
297 const std::string& channel_name, int* component) const = 0; 297 const std::string& channel_name, int* component) const = 0;
298 }; 298 };
299 299
300 } // namespace cricket 300 } // namespace cricket
301 301
302 #endif // WEBRTC_P2P_BASE_CANDIDATE_H_ 302 #endif // WEBRTC_P2P_BASE_CANDIDATE_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/utility/simulcast_rate_allocator.h ('k') | webrtc/p2p/stunprober/stunprober_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698