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

Side by Side Diff: remoting/protocol/negotiating_client_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_CLIENT_AUTHENTICATOR_H_ 5 #ifndef REMOTING_PROTOCOL_NEGOTIATING_CLIENT_AUTHENTICATOR_H_
6 #define REMOTING_PROTOCOL_NEGOTIATING_CLIENT_AUTHENTICATOR_H_ 6 #define REMOTING_PROTOCOL_NEGOTIATING_CLIENT_AUTHENTICATOR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 18 matching lines...) Expand all
29 const std::string& shared_secret, 29 const std::string& shared_secret,
30 const std::string& authentication_tag, 30 const std::string& authentication_tag,
31 const FetchSecretCallback& fetch_secret_callback, 31 const FetchSecretCallback& fetch_secret_callback,
32 scoped_ptr<ThirdPartyClientAuthenticator::TokenFetcher> token_fetcher_, 32 scoped_ptr<ThirdPartyClientAuthenticator::TokenFetcher> token_fetcher_,
33 const std::vector<AuthenticationMethod>& methods); 33 const std::vector<AuthenticationMethod>& methods);
34 34
35 virtual ~NegotiatingClientAuthenticator(); 35 virtual ~NegotiatingClientAuthenticator();
36 36
37 // Overriden from Authenticator. 37 // Overriden from Authenticator.
38 virtual void ProcessMessage(const buzz::XmlElement* message, 38 virtual void ProcessMessage(const buzz::XmlElement* message,
39 const base::Closure& resume_callback) OVERRIDE; 39 const base::Closure& resume_callback) override;
40 virtual scoped_ptr<buzz::XmlElement> GetNextMessage() OVERRIDE; 40 virtual scoped_ptr<buzz::XmlElement> GetNextMessage() override;
41 41
42 private: 42 private:
43 // (Asynchronously) creates an authenticator, and stores it in 43 // (Asynchronously) creates an authenticator, and stores it in
44 // |current_authenticator_|. Authenticators that can be started in either 44 // |current_authenticator_|. Authenticators that can be started in either
45 // state will be created in |preferred_initial_state|. 45 // state will be created in |preferred_initial_state|.
46 // |resume_callback| is called after |current_authenticator_| is set. 46 // |resume_callback| is called after |current_authenticator_| is set.
47 void CreateAuthenticatorForCurrentMethod( 47 void CreateAuthenticatorForCurrentMethod(
48 Authenticator::State preferred_initial_state, 48 Authenticator::State preferred_initial_state,
49 const base::Closure& resume_callback); 49 const base::Closure& resume_callback);
50 50
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 bool method_set_by_host_; 83 bool method_set_by_host_;
84 base::WeakPtrFactory<NegotiatingClientAuthenticator> weak_factory_; 84 base::WeakPtrFactory<NegotiatingClientAuthenticator> weak_factory_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(NegotiatingClientAuthenticator); 86 DISALLOW_COPY_AND_ASSIGN(NegotiatingClientAuthenticator);
87 }; 87 };
88 88
89 } // namespace protocol 89 } // namespace protocol
90 } // namespace remoting 90 } // namespace remoting
91 91
92 #endif // REMOTING_PROTOCOL_NEGOTIATING_CLIENT_AUTHENTICATOR_H_ 92 #endif // REMOTING_PROTOCOL_NEGOTIATING_CLIENT_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « remoting/protocol/negotiating_authenticator_base.h ('k') | remoting/protocol/negotiating_host_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698