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

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 2384063008: Enables delegating signal strategy for It2Me Host. (Closed)
Patch Set: Fix typos Created 4 years, 2 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 | « remoting/client/plugin/BUILD.gn ('k') | remoting/client/plugin/delegating_signal_strategy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index 14d0803bf2ee1b24667e9d446ea4a98dfd09e8df..1fa13ebd3a45516d7e2f7fc4beb7bff89830d8a3 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -43,7 +43,6 @@
#include "remoting/client/normalizing_input_filter_cros.h"
#include "remoting/client/normalizing_input_filter_mac.h"
#include "remoting/client/normalizing_input_filter_win.h"
-#include "remoting/client/plugin/delegating_signal_strategy.h"
#include "remoting/client/plugin/pepper_audio_player.h"
#include "remoting/client/plugin/pepper_main_thread_task_runner.h"
#include "remoting/client/plugin/pepper_mouse_locker.h"
@@ -56,6 +55,7 @@
#include "remoting/protocol/connection_to_host.h"
#include "remoting/protocol/host_stub.h"
#include "remoting/protocol/transport_context.h"
+#include "remoting/signaling/delegating_signal_strategy.h"
#include "third_party/webrtc/base/helpers.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_region.h"
#include "url/gurl.h"
@@ -671,8 +671,9 @@ void ChromotingInstance::HandleConnect(const base::DictionaryValue& data) {
// Setup the signal strategy.
signal_strategy_.reset(new DelegatingSignalStrategy(
- local_jid, base::Bind(&ChromotingInstance::SendOutgoingIq,
- weak_factory_.GetWeakPtr())));
+ local_jid, plugin_task_runner_,
+ base::Bind(&ChromotingInstance::SendOutgoingIq,
+ weak_factory_.GetWeakPtr())));
// Create TransportContext.
scoped_refptr<protocol::TransportContext> transport_context(
« no previous file with comments | « remoting/client/plugin/BUILD.gn ('k') | remoting/client/plugin/delegating_signal_strategy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698