Index: remoting/protocol/pepper_channel.h |
diff --git a/remoting/protocol/pepper_channel.h b/remoting/protocol/pepper_channel.h |
index cb77b17d5cfac9a7c30202c3e53a133a81a55b3d..4ba07192f65b69f5496e90a73d2df64a32b47ec1 100644 |
--- a/remoting/protocol/pepper_channel.h |
+++ b/remoting/protocol/pepper_channel.h |
@@ -21,6 +21,7 @@ class Candidate; |
namespace remoting { |
namespace protocol { |
+class ChannelAuthenticator; |
struct TransportConfig; |
// Interface for stream and datagram channels used by PepperSession. |
@@ -29,10 +30,11 @@ class PepperChannel : public base::NonThreadSafe { |
PepperChannel() { } |
virtual ~PepperChannel() { } |
- // Connect the channel using specified |config|. |
+ // Connect the channel using specified |config|. Takes ownership of |
+ // |authenticator|. |
Wez
2011/11/22 22:29:48
nit: How is |pp_instance| used, and owned? How is
Sergey Ulanov
2011/11/23 01:23:42
There is always only one pp_instance per plugin, s
|
virtual void Connect(pp::Instance* pp_instance, |
const TransportConfig& config, |
- const std::string& remote_cert) = 0; |
+ ChannelAuthenticator* authenticator) = 0; |
// Adds |candidate| received from the peer. |
virtual void AddRemoveCandidate(const cricket::Candidate& candidate) = 0; |