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

Side by Side Diff: remoting/host/host_token_validator_factory.h

Issue 12313085: Host-side third party token validation (Closed) Base URL: http://git.chromium.org/chromium/src.git@third_party_auth_protocol
Patch Set: Created 7 years, 10 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
(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_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/host_token_validator_factory.cc » ('j') | remoting/host/host_token_validator_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698