Searched refs:FakeSignalStrategy (Results 1 – 3 of 3) sorted by relevance
20 void FakeSignalStrategy::Connect(FakeSignalStrategy* peer1, in Connect()21 FakeSignalStrategy* peer2) { in Connect()26 FakeSignalStrategy::FakeSignalStrategy(const std::string& jid) in FakeSignalStrategy() function in remoting::FakeSignalStrategy34 FakeSignalStrategy::~FakeSignalStrategy() { in ~FakeSignalStrategy()41 void FakeSignalStrategy::Connect() { in Connect()47 void FakeSignalStrategy::Disconnect() { in Disconnect()53 SignalStrategy::State FakeSignalStrategy::GetState() const { in GetState()57 SignalStrategy::Error FakeSignalStrategy::GetError() const { in GetError()61 std::string FakeSignalStrategy::GetLocalJid() const { in GetLocalJid()66 void FakeSignalStrategy::AddListener(Listener* listener) { in AddListener()[all …]
20 class FakeSignalStrategy : public SignalStrategy,23 static void Connect(FakeSignalStrategy* peer1, FakeSignalStrategy* peer2);25 FakeSignalStrategy(const std::string& jid);26 virtual ~FakeSignalStrategy();50 FakeSignalStrategy* peer_;61 base::WeakPtrFactory<FakeSignalStrategy> weak_factory_;63 DISALLOW_COPY_AND_ASSIGN(FakeSignalStrategy);
136 host_signal_strategy_.reset(new FakeSignalStrategy(kHostJid)); in CreateSessionManagers()137 client_signal_strategy_.reset(new FakeSignalStrategy(kClientJid)); in CreateSessionManagers()138 FakeSignalStrategy::Connect(host_signal_strategy_.get(), in CreateSessionManagers()276 scoped_ptr<FakeSignalStrategy> host_signal_strategy_;277 scoped_ptr<FakeSignalStrategy> client_signal_strategy_;