Index: remoting/protocol/pepper_channel.h |
diff --git a/remoting/protocol/pepper_channel.h b/remoting/protocol/pepper_channel.h |
index de6b93b68ce30490cc5bfec1618f1d904e204bd7..c6737576648ead6f2285fa68de0a3ed92c2ef6e6 100644 |
--- a/remoting/protocol/pepper_channel.h |
+++ b/remoting/protocol/pepper_channel.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "base/basictypes.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/threading/non_thread_safe.h" |
namespace pp { |
@@ -31,11 +32,10 @@ class PepperChannel : public base::NonThreadSafe { |
virtual ~PepperChannel() { } |
// Connect the channel using specified |config|. The specified |
- // |authenticator| is used to authenticate the channel. Takes |
- // ownership of |authenticator|. |
+ // |authenticator| is used to authenticate the channel. |
virtual void Connect(pp::Instance* pp_instance, |
const TransportConfig& config, |
- ChannelAuthenticator* authenticator) = 0; |
+ scoped_ptr<ChannelAuthenticator> authenticator) = 0; |
// Adds |candidate| received from the peer. |
virtual void AddRemoveCandidate(const cricket::Candidate& candidate) = 0; |