X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fremoting%2Fhost%2Fpam_authorization_factory_posix.cc;h=72f89d5c06b3554611513c633a7b93996d078a64;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=29be848976d1343c187479f2f202130e57246996;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/remoting/host/pam_authorization_factory_posix.cc b/src/remoting/host/pam_authorization_factory_posix.cc index 29be848..72f89d5 100644 --- a/src/remoting/host/pam_authorization_factory_posix.cc +++ b/src/remoting/host/pam_authorization_factory_posix.cc @@ -20,17 +20,17 @@ namespace { class PamAuthorizer : public protocol::Authenticator { public: PamAuthorizer(scoped_ptr underlying); - virtual ~PamAuthorizer(); + ~PamAuthorizer() override; // protocol::Authenticator interface. - virtual State state() const OVERRIDE; - virtual bool started() const OVERRIDE; - virtual RejectionReason rejection_reason() const OVERRIDE; - virtual void ProcessMessage(const buzz::XmlElement* message, - const base::Closure& resume_callback) OVERRIDE; - virtual scoped_ptr GetNextMessage() OVERRIDE; - virtual scoped_ptr - CreateChannelAuthenticator() const OVERRIDE; + State state() const override; + bool started() const override; + RejectionReason rejection_reason() const override; + void ProcessMessage(const buzz::XmlElement* message, + const base::Closure& resume_callback) override; + scoped_ptr GetNextMessage() override; + scoped_ptr CreateChannelAuthenticator() + const override; private: void MaybeCheckLocalLogin(); @@ -171,8 +171,7 @@ PamAuthorizationFactory::CreateAuthenticator( const buzz::XmlElement* first_message) { scoped_ptr authenticator( underlying_->CreateAuthenticator(local_jid, remote_jid, first_message)); - return scoped_ptr( - new PamAuthorizer(authenticator.Pass())); + return make_scoped_ptr(new PamAuthorizer(authenticator.Pass())); }