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

Unified Diff: remoting/protocol/pepper_channel.h

Issue 8573013: Add CancelChannelCreation() in protocol::Session interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/pepper_channel.h
diff --git a/remoting/protocol/pepper_channel.h b/remoting/protocol/pepper_channel.h
index 6ae46bb4364d9ed439f3a26ef18be222347a3a3e..31b309ddbca33da69ba5e58324df8d0750d5b29b 100644
--- a/remoting/protocol/pepper_channel.h
+++ b/remoting/protocol/pepper_channel.h
@@ -38,7 +38,10 @@ class PepperChannel : public base::NonThreadSafe {
virtual void AddRemoveCandidate(const cricket::Candidate& candidate) = 0;
// Name of the channel.
- virtual const std::string& name() = 0;
+ virtual const std::string& name() const = 0;
+
+ // returns true if the channel is already connected
+ virtual bool connected() const = 0;
Wez 2011/11/15 22:29:13 nit: connected -> is_connected?
Sergey Ulanov 2011/11/16 00:01:33 Done.
protected:
DISALLOW_COPY_AND_ASSIGN(PepperChannel);

Powered by Google App Engine
This is Rietveld 408576698