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

Side by Side Diff: remoting/test/fake_socket_factory.h

Issue 653203005: Roll WebRTC 7546:7549. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Decreased the number of gyp changes in this patch since thats the only major change (the reset is j… Created 6 years, 1 month 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 | « remoting/test/fake_port_allocator.h ('k') | third_party/libjingle/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 REMOTING_TEST_FAKE_SOCKET_FACTORY_H_ 5 #ifndef REMOTING_TEST_FAKE_SOCKET_FACTORY_H_
6 #define REMOTING_TEST_FAKE_SOCKET_FACTORY_H_ 6 #define REMOTING_TEST_FAKE_SOCKET_FACTORY_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "remoting/test/fake_network_dispatcher.h" 13 #include "remoting/test/fake_network_dispatcher.h"
14 #include "third_party/libjingle/source/talk/p2p/base/packetsocketfactory.h" 14 #include "third_party/webrtc/p2p/base/packetsocketfactory.h"
15 15
16 namespace remoting { 16 namespace remoting {
17 17
18 class FakeNetworkDispatcher; 18 class FakeNetworkDispatcher;
19 class LeakyBucket; 19 class LeakyBucket;
20 20
21 class FakePacketSocketFactory : public rtc::PacketSocketFactory, 21 class FakePacketSocketFactory : public rtc::PacketSocketFactory,
22 public FakeNetworkDispatcher::Node { 22 public FakeNetworkDispatcher::Node {
23 public: 23 public:
24 // |dispatcher| must outlive the factory. 24 // |dispatcher| must outlive the factory.
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 std::list<PendingPacket> pending_packets_; 115 std::list<PendingPacket> pending_packets_;
116 116
117 base::WeakPtrFactory<FakePacketSocketFactory> weak_factory_; 117 base::WeakPtrFactory<FakePacketSocketFactory> weak_factory_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(FakePacketSocketFactory); 119 DISALLOW_COPY_AND_ASSIGN(FakePacketSocketFactory);
120 }; 120 };
121 121
122 } // namespace remoting 122 } // namespace remoting
123 123
124 #endif // REMOTING_TEST_FAKE_SOCKET_FACTORY_H_ 124 #endif // REMOTING_TEST_FAKE_SOCKET_FACTORY_H_
OLDNEW
« no previous file with comments | « remoting/test/fake_port_allocator.h ('k') | third_party/libjingle/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698