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

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: rebased 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 3af312364861ee8e1c456dcc9d0071d7fdcc6059..af8861bdff8aa122a717e04a5d4273309d9b5a18 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -482,12 +482,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;
« no previous file with comments | « remoting/host/pairing_registry_delegate_win.cc ('k') | remoting/host/setup/native_messaging_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698