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

Unified Diff: remoting/host/remoting_me2me_host.cc

Issue 21128006: Refactored PairingRegistry::Delegate such that it can retrieve/modify for a single client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 7 years, 5 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
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index 7b7d3e3bb09cc8985738c476e40603ebbaee2262..f2dcdaed096142b2a2f2510d09135f8d4b439dab 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -481,12 +481,8 @@ void HostProcess::CreateAuthenticatorFactory() {
return;
}
- scoped_refptr<protocol::PairingRegistry> pairing_registry = NULL;
- scoped_ptr<protocol::PairingRegistry::Delegate> delegate(
- CreatePairingRegistryDelegate(context_->file_task_runner()));
- if (delegate) {
- pairing_registry = new protocol::PairingRegistry(delegate.Pass());
- }
+ scoped_refptr<protocol::PairingRegistry> pairing_registry =
+ CreatePairingRegistry(context_->file_task_runner());
scoped_ptr<protocol::AuthenticatorFactory> factory;

Powered by Google App Engine
This is Rietveld 408576698