summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/pepper_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/protocol/pepper_channel.h')
-rw-r--r--remoting/protocol/pepper_channel.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/protocol/pepper_channel.h b/remoting/protocol/pepper_channel.h
index 6ae46bb..cb77b17 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 is_connected() const = 0;
protected:
DISALLOW_COPY_AND_ASSIGN(PepperChannel);