Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: remoting/protocol/negotiating_host_authenticator.h

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_NEGOTIATING_HOST_AUTHENTICATOR_H_ 5 #ifndef REMOTING_PROTOCOL_NEGOTIATING_HOST_AUTHENTICATOR_H_
6 #define REMOTING_PROTOCOL_NEGOTIATING_HOST_AUTHENTICATOR_H_ 6 #define REMOTING_PROTOCOL_NEGOTIATING_HOST_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 29 matching lines...) Expand all
40 scoped_refptr<PairingRegistry> pairing_registry); 40 scoped_refptr<PairingRegistry> pairing_registry);
41 41
42 // Creates a host authenticator, using third party authentication. 42 // Creates a host authenticator, using third party authentication.
43 static scoped_ptr<Authenticator> CreateWithThirdPartyAuth( 43 static scoped_ptr<Authenticator> CreateWithThirdPartyAuth(
44 const std::string& local_cert, 44 const std::string& local_cert,
45 scoped_refptr<RsaKeyPair> key_pair, 45 scoped_refptr<RsaKeyPair> key_pair,
46 scoped_ptr<TokenValidator> token_validator); 46 scoped_ptr<TokenValidator> token_validator);
47 47
48 // Overriden from Authenticator. 48 // Overriden from Authenticator.
49 virtual void ProcessMessage(const buzz::XmlElement* message, 49 virtual void ProcessMessage(const buzz::XmlElement* message,
50 const base::Closure& resume_callback) OVERRIDE; 50 const base::Closure& resume_callback) override;
51 virtual scoped_ptr<buzz::XmlElement> GetNextMessage() OVERRIDE; 51 virtual scoped_ptr<buzz::XmlElement> GetNextMessage() override;
52 52
53 private: 53 private:
54 NegotiatingHostAuthenticator( 54 NegotiatingHostAuthenticator(
55 const std::string& local_cert, 55 const std::string& local_cert,
56 scoped_refptr<RsaKeyPair> key_pair); 56 scoped_refptr<RsaKeyPair> key_pair);
57 57
58 // (Asynchronously) creates an authenticator, and stores it in 58 // (Asynchronously) creates an authenticator, and stores it in
59 // |current_authenticator_|. Authenticators that can be started in either 59 // |current_authenticator_|. Authenticators that can be started in either
60 // state will be created in |preferred_initial_state|. 60 // state will be created in |preferred_initial_state|.
61 // |resume_callback| is called after |current_authenticator_| is set. 61 // |resume_callback| is called after |current_authenticator_| is set.
(...skipping 12 matching lines...) Expand all
74 // Used only for pairing authenticators. 74 // Used only for pairing authenticators.
75 scoped_refptr<PairingRegistry> pairing_registry_; 75 scoped_refptr<PairingRegistry> pairing_registry_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(NegotiatingHostAuthenticator); 77 DISALLOW_COPY_AND_ASSIGN(NegotiatingHostAuthenticator);
78 }; 78 };
79 79
80 } // namespace protocol 80 } // namespace protocol
81 } // namespace remoting 81 } // namespace remoting
82 82
83 #endif // REMOTING_PROTOCOL_NEGOTIATING_HOST_AUTHENTICATOR_H_ 83 #endif // REMOTING_PROTOCOL_NEGOTIATING_HOST_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « remoting/protocol/negotiating_client_authenticator.h ('k') | remoting/protocol/pairing_authenticator_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698