Index: remoting/protocol/v1_authenticator.h |
diff --git a/remoting/protocol/v1_authenticator.h b/remoting/protocol/v1_authenticator.h |
index 26d44bf7b225317d31736900f7c82890da2aa753..db06cf59c96cccf2b045e6277f8dbca8eb79317f 100644 |
--- a/remoting/protocol/v1_authenticator.h |
+++ b/remoting/protocol/v1_authenticator.h |
@@ -26,8 +26,9 @@ class V1ClientAuthenticator : public Authenticator { |
// Authenticator interface. |
virtual State state() const OVERRIDE; |
virtual void ProcessMessage(const buzz::XmlElement* message) OVERRIDE; |
- virtual buzz::XmlElement* GetNextMessage() OVERRIDE; |
- virtual ChannelAuthenticator* CreateChannelAuthenticator() const OVERRIDE; |
+ virtual scoped_ptr<buzz::XmlElement> GetNextMessage() OVERRIDE; |
+ virtual scoped_ptr<ChannelAuthenticator> |
+ CreateChannelAuthenticator() const OVERRIDE; |
private: |
std::string local_jid_; |
@@ -50,8 +51,9 @@ class V1HostAuthenticator : public Authenticator { |
// Authenticator interface. |
virtual State state() const OVERRIDE; |
virtual void ProcessMessage(const buzz::XmlElement* message) OVERRIDE; |
- virtual buzz::XmlElement* GetNextMessage() OVERRIDE; |
- virtual ChannelAuthenticator* CreateChannelAuthenticator() const OVERRIDE; |
+ virtual scoped_ptr<buzz::XmlElement> GetNextMessage() OVERRIDE; |
+ virtual scoped_ptr<ChannelAuthenticator> |
+ CreateChannelAuthenticator() const OVERRIDE; |
private: |
std::string local_cert_; |