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

Unified Diff: remoting/test/fake_port_allocator.h

Issue 1644593003: Fix FakePortAllocator to keep reference to TransportContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/test/fake_port_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/fake_port_allocator.h
diff --git a/remoting/test/fake_port_allocator.h b/remoting/test/fake_port_allocator.h
index ed2e09541562c98106fca503e37ca931728bce31..cc5e6ebb5ae5b4b7dbcf04d9a902bcecc083815d 100644
--- a/remoting/test/fake_port_allocator.h
+++ b/remoting/test/fake_port_allocator.h
@@ -20,8 +20,10 @@ class FakePacketSocketFactory;
class FakePortAllocator : public cricket::BasicPortAllocator {
public:
- FakePortAllocator(rtc::NetworkManager* network_manager,
- rtc::PacketSocketFactory* socket_factory);
+ FakePortAllocator(
+ rtc::NetworkManager* network_manager,
+ rtc::PacketSocketFactory* socket_factory,
+ scoped_refptr<protocol::TransportContext> transport_context_);
~FakePortAllocator() override;
// cricket::BasicPortAllocator overrides.
@@ -32,6 +34,8 @@ class FakePortAllocator : public cricket::BasicPortAllocator {
const std::string& ice_password) override;
private:
+ scoped_refptr<protocol::TransportContext> transport_context_;
+
DISALLOW_COPY_AND_ASSIGN(FakePortAllocator);
};
« no previous file with comments | « no previous file | remoting/test/fake_port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698