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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 165293004: Refactor TokenValidatorImpl into a base class + implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/token_validator_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index aadd809eafe9d092623337497f7a27554fe447d6..b9f405764142ffef0c69ae35fa560a31d406cfe7 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -71,6 +71,7 @@
#include "remoting/jingle_glue/xmpp_signal_strategy.h"
#include "remoting/protocol/me2me_host_authenticator_factory.h"
#include "remoting/protocol/pairing_registry.h"
+#include "remoting/protocol/token_validator.h"
#if defined(OS_POSIX)
#include <signal.h>
@@ -550,8 +551,8 @@ void HostProcess::CreateAuthenticatorFactory() {
host_secret_hash_, pairing_registry);
} else if (third_party_auth_config_.is_valid()) {
- scoped_ptr<protocol::ThirdPartyHostAuthenticator::TokenValidatorFactory>
- token_validator_factory(new TokenValidatorFactoryImpl(
+ scoped_ptr<protocol::TokenValidatorFactory> token_validator_factory(
+ new TokenValidatorFactoryImpl(
third_party_auth_config_,
key_pair_, context_->url_request_context_getter()));
factory = protocol::Me2MeHostAuthenticatorFactory::CreateWithThirdPartyAuth(
« no previous file with comments | « no previous file | remoting/host/token_validator_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698