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

Unified Diff: remoting/protocol/channel_dispatcher_base.h

Issue 2176443002: Add client and host dispatchers for video_stats channel to send video stats from host to client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simple_channel
Patch Set: . Created 4 years, 5 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
Index: remoting/protocol/channel_dispatcher_base.h
diff --git a/remoting/protocol/channel_dispatcher_base.h b/remoting/protocol/channel_dispatcher_base.h
index 216ffad76048d94d0efeb5795d8096b50eed4ccc..52e3e5d45056c2d77e885bd021caf9ae66a7902e 100644
--- a/remoting/protocol/channel_dispatcher_base.h
+++ b/remoting/protocol/channel_dispatcher_base.h
@@ -40,10 +40,6 @@ class ChannelDispatcherBase : public MessagePipe::EventHandler {
virtual void OnChannelClosed(ChannelDispatcherBase* channel_dispatcher) = 0;
};
- // The callback is called when initialization is finished. The
- // parameter is set to true on success.
- typedef base::Callback<void(bool)> InitializedCallback;
-
~ChannelDispatcherBase() override;
// Creates and connects the channel using |channel_factory|.
@@ -60,7 +56,7 @@ class ChannelDispatcherBase : public MessagePipe::EventHandler {
bool is_connected() { return is_connected_; }
protected:
- explicit ChannelDispatcherBase(const char* channel_name);
+ explicit ChannelDispatcherBase(const std::string& channel_name);
MessagePipe* message_pipe() { return message_pipe_.get(); }

Powered by Google App Engine
This is Rietveld 408576698