Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index 9df3657d4f56df61d9159a5b3b672353d15eac48..d684a8617283cf9c6651e3d91ced4e2c27199d0c 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -57,6 +57,7 @@ |
#include "remoting/host/log_to_server.h" |
#include "remoting/host/logging.h" |
#include "remoting/host/me2me_desktop_environment.h" |
+#include "remoting/host/pairing_registry_delegate.h" |
#include "remoting/host/policy_hack/policy_watcher.h" |
#include "remoting/host/service_urls.h" |
#include "remoting/host/session_manager_factory.h" |
@@ -478,12 +479,9 @@ void HostProcess::CreateAuthenticatorFactory() { |
// TODO(jamiewalch): Add a pairing registry here once all the code |
// is committed. |
- scoped_refptr<remoting::protocol::PairingRegistry> pairing_registry; |
- //scoped_refptr<protocol::PairingRegistry> pairing_registry( |
- // new protocol::PairingRegistry( |
- // scoped_ptr<protocol::PairingRegistry::Delegate>( |
- // new protocol::NotImplementedPairingRegistryDelegate), |
- // protocol::PairingRegistry::PairedClients())); |
+ scoped_refptr<remoting::protocol::PairingRegistry> pairing_registry( |
+ new remoting::protocol::PairingRegistry( |
+ CreatePairingRegistryDelegate(NULL))); |
scoped_ptr<protocol::AuthenticatorFactory> factory; |