OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_HOST_HOST_TOKEN_VALIDATOR_FACTORY_H_ | |
6 #define REMOTING_HOST_HOST_TOKEN_VALIDATOR_FACTORY_H_ | |
7 | |
8 #include <set> | |
9 #include <string> | |
10 | |
11 #include "base/basictypes.h" | |
12 #include "net/url_request/url_request_context_getter.h" | |
13 #include "remoting/protocol/third_party_authenticator.h" | |
14 | |
15 namespace remoting { | |
16 | |
17 class HostTokenValidatorFactory | |
Wez
2013/03/06 00:47:02
nit: Do we need "host" in the class name? It's not
rmsousa
2013/03/25 22:45:58
That's the name of the base class... I followed th
| |
18 : public protocol::ThirdPartyAuthenticator::TokenValidatorFactory { | |
Wez
2013/03/06 01:01:08
Add a comment explaining what properties the valid
rmsousa
2013/03/25 22:45:58
Done.
| |
19 public: | |
20 HostTokenValidatorFactory( | |
21 scoped_refptr<net::URLRequestContextGetter> request_context_getter); | |
22 virtual ~HostTokenValidatorFactory(); | |
23 | |
24 virtual scoped_ptr<protocol::ThirdPartyAuthenticator::TokenValidator> | |
25 CreateTokenValidator() OVERRIDE; | |
26 | |
27 private: | |
28 scoped_refptr<net::URLRequestContextGetter> request_context_getter_; | |
29 DISALLOW_COPY_AND_ASSIGN(HostTokenValidatorFactory); | |
30 }; | |
31 | |
32 } // namespace remoting | |
33 | |
34 #endif // REMOTING_HOST_HOST_TOKEN_VALIDATOR_FACTORY_H_ | |
OLD | NEW |