| Index: remoting/host/token_validator_base.h
|
| diff --git a/remoting/host/token_validator_base.h b/remoting/host/token_validator_base.h
|
| index b5c7d20ed5dea6fa52b4a0c85ef750e139cbf863..c59d15d6ffb73e784fd9cb731a4325d6e1ff33c5 100644
|
| --- a/remoting/host/token_validator_base.h
|
| +++ b/remoting/host/token_validator_base.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "net/url_request/url_request.h"
|
| #include "net/url_request/url_request_context_getter.h"
|
| +#include "remoting/host/third_party_auth_config.h"
|
| #include "remoting/protocol/token_validator.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -19,20 +20,6 @@ typedef std::vector<scoped_refptr<X509Certificate> > CertificateList;
|
|
|
| namespace remoting {
|
|
|
| -struct ThirdPartyAuthConfig {
|
| - inline bool is_empty() const {
|
| - return token_url.is_empty() && token_validation_url.is_empty();
|
| - }
|
| -
|
| - inline bool is_valid() const {
|
| - return token_url.is_valid() && token_validation_url.is_valid();
|
| - }
|
| -
|
| - GURL token_url;
|
| - GURL token_validation_url;
|
| - std::string token_validation_cert_issuer;
|
| -};
|
| -
|
| class TokenValidatorBase
|
| : public net::URLRequest::Delegate,
|
| public protocol::TokenValidator {
|
|
|