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

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

Issue 1304143010: Plumbing SSLPrivateKey Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 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 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/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "net/ssl/ssl_platform_key.h"
12 #include "net/ssl/ssl_private_key.h"
davidben 2015/09/25 20:10:12 Unnecessary includes? (The two key ones.)
svaldez 2015/09/28 16:54:54 Done.
10 #include "net/url_request/url_request.h" 13 #include "net/url_request/url_request.h"
11 #include "net/url_request/url_request_context_getter.h" 14 #include "net/url_request/url_request_context_getter.h"
12 #include "remoting/host/third_party_auth_config.h" 15 #include "remoting/host/third_party_auth_config.h"
13 #include "remoting/protocol/token_validator.h" 16 #include "remoting/protocol/token_validator.h"
14 #include "url/gurl.h" 17 #include "url/gurl.h"
15 18
16 namespace net { 19 namespace net {
17 class ClientCertStore; 20 class ClientCertStore;
18 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList; 21 typedef std::vector<scoped_refptr<X509Certificate> > CertificateList;
19 } 22 }
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 base::Callback<void(const std::string& shared_secret)> on_token_validated_; 70 base::Callback<void(const std::string& shared_secret)> on_token_validated_;
68 71
69 base::WeakPtrFactory<TokenValidatorBase> weak_factory_; 72 base::WeakPtrFactory<TokenValidatorBase> weak_factory_;
70 73
71 DISALLOW_COPY_AND_ASSIGN(TokenValidatorBase); 74 DISALLOW_COPY_AND_ASSIGN(TokenValidatorBase);
72 }; 75 };
73 76
74 } // namespace remoting 77 } // namespace remoting
75 78
76 #endif // REMOTING_HOST_TOKEN_VALIDATOR_BASE_H 79 #endif // REMOTING_HOST_TOKEN_VALIDATOR_BASE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698