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

Unified Diff: remoting/protocol/fake_session.h

Issue 550383002: Cleanup ChannelFactory interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « remoting/protocol/channel_multiplexer_unittest.cc ('k') | remoting/protocol/fake_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_session.h
diff --git a/remoting/protocol/fake_session.h b/remoting/protocol/fake_session.h
index 01f79c75aa8de4a6a8a04ab809554895d25329ff..c7793f26f1e941578db39bf29b34c768be7e08f3 100644
--- a/remoting/protocol/fake_session.h
+++ b/remoting/protocol/fake_session.h
@@ -178,21 +178,13 @@ class FakeSession : public Session,
virtual void Close() OVERRIDE;
// ChannelFactory interface.
- virtual void CreateStreamChannel(
- const std::string& name,
- const StreamChannelCallback& callback) OVERRIDE;
- virtual void CreateDatagramChannel(
- const std::string& name,
- const DatagramChannelCallback& callback) OVERRIDE;
+ virtual void CreateChannel(const std::string& name,
+ const ChannelCreatedCallback& callback) OVERRIDE;
virtual void CancelChannelCreation(const std::string& name) OVERRIDE;
public:
- void NotifyStreamChannelCallback(
- const std::string& name,
- const StreamChannelCallback& callback);
- void NotifyDatagramChannelCallback(
- const std::string& name,
- const DatagramChannelCallback& callback);
+ void NotifyChannelCreated(const std::string& name,
+ const ChannelCreatedCallback& callback);
EventHandler* event_handler_;
scoped_ptr<const CandidateSessionConfig> candidate_config_;
« no previous file with comments | « remoting/protocol/channel_multiplexer_unittest.cc ('k') | remoting/protocol/fake_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698