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

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

Issue 1966423002: Remove webrtc/base/scoped_ptr.h (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: remove new scoped_ptr uses Created 4 years, 7 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/dtlstransportchannel_unittest.cc ('k') | webrtc/p2p/base/stunserver.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 2010 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2010 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_FAKEPORTALLOCATOR_H_ 11 #ifndef WEBRTC_P2P_BASE_FAKEPORTALLOCATOR_H_
12 #define WEBRTC_P2P_BASE_FAKEPORTALLOCATOR_H_ 12 #define WEBRTC_P2P_BASE_FAKEPORTALLOCATOR_H_
13 13
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/p2p/base/basicpacketsocketfactory.h" 18 #include "webrtc/p2p/base/basicpacketsocketfactory.h"
19 #include "webrtc/p2p/base/portallocator.h" 19 #include "webrtc/p2p/base/portallocator.h"
20 #include "webrtc/p2p/base/udpport.h" 20 #include "webrtc/p2p/base/udpport.h"
21 #include "webrtc/base/scoped_ptr.h"
22 21
23 namespace rtc { 22 namespace rtc {
24 class SocketFactory; 23 class SocketFactory;
25 class Thread; 24 class Thread;
26 } 25 }
27 26
28 namespace cricket { 27 namespace cricket {
29 28
30 class TestUDPPort : public UDPPort { 29 class TestUDPPort : public UDPPort {
31 public: 30 public:
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 210
212 private: 211 private:
213 rtc::Thread* worker_thread_; 212 rtc::Thread* worker_thread_;
214 rtc::PacketSocketFactory* factory_; 213 rtc::PacketSocketFactory* factory_;
215 std::unique_ptr<rtc::BasicPacketSocketFactory> owned_factory_; 214 std::unique_ptr<rtc::BasicPacketSocketFactory> owned_factory_;
216 }; 215 };
217 216
218 } // namespace cricket 217 } // namespace cricket
219 218
220 #endif // WEBRTC_P2P_BASE_FAKEPORTALLOCATOR_H_ 219 #endif // WEBRTC_P2P_BASE_FAKEPORTALLOCATOR_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/dtlstransportchannel_unittest.cc ('k') | webrtc/p2p/base/stunserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698