Index: remoting/host/token_validator_factory_impl.h |
diff --git a/remoting/host/token_validator_factory_impl.h b/remoting/host/token_validator_factory_impl.h |
index b8fbb0fb7a0f43d0a13029582d5e07e1fdd192c1..51a51f129c07a5ca95ffbbc4062500312a0c1951 100644 |
--- a/remoting/host/token_validator_factory_impl.h |
+++ b/remoting/host/token_validator_factory_impl.h |
@@ -10,24 +10,11 @@ |
#include "base/basictypes.h" |
#include "net/url_request/url_request_context_getter.h" |
+#include "remoting/host/token_validator_base.h" |
#include "remoting/protocol/third_party_host_authenticator.h" |
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; |
-}; |
- |
// This class dispenses |TokenValidator| implementations that use a UrlFetcher |
// to contact a |token_validation_url| and exchange the |token| for a |
// |shared_secret|. |