OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_HOST_TOKEN_VALIDATOR_BASE_H_ | 5 #ifndef REMOTING_HOST_TOKEN_VALIDATOR_BASE_H_ |
6 #define REMOTING_HOST_TOKEN_VALIDATOR_BASE_H_ | 6 #define REMOTING_HOST_TOKEN_VALIDATOR_BASE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "net/url_request/url_request.h" | 12 #include "net/url_request/url_request.h" |
12 #include "net/url_request/url_request_context_getter.h" | 13 #include "net/url_request/url_request_context_getter.h" |
13 #include "remoting/host/third_party_auth_config.h" | 14 #include "remoting/host/third_party_auth_config.h" |
14 #include "remoting/protocol/token_validator.h" | 15 #include "remoting/protocol/token_validator.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 namespace net { | 18 namespace net { |
18 class ClientCertStore; | 19 class ClientCertStore; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 base::Callback<void(const std::string& shared_secret)> on_token_validated_; | 84 base::Callback<void(const std::string& shared_secret)> on_token_validated_; |
84 | 85 |
85 base::WeakPtrFactory<TokenValidatorBase> weak_factory_; | 86 base::WeakPtrFactory<TokenValidatorBase> weak_factory_; |
86 | 87 |
87 DISALLOW_COPY_AND_ASSIGN(TokenValidatorBase); | 88 DISALLOW_COPY_AND_ASSIGN(TokenValidatorBase); |
88 }; | 89 }; |
89 | 90 |
90 } // namespace remoting | 91 } // namespace remoting |
91 | 92 |
92 #endif // REMOTING_HOST_TOKEN_VALIDATOR_BASE_H | 93 #endif // REMOTING_HOST_TOKEN_VALIDATOR_BASE_H |
OLD | NEW |