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

Unified Diff: remoting/host/it2me/it2me_native_messaging_host.h

Issue 2747743004: Fix crash when user disconnects It2Me host (Closed)
Patch Set: Fix Client breakage Created 3 years, 9 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/chromoting_instance.cc ('k') | remoting/host/it2me/it2me_native_messaging_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me/it2me_native_messaging_host.h
diff --git a/remoting/host/it2me/it2me_native_messaging_host.h b/remoting/host/it2me/it2me_native_messaging_host.h
index 8560084d4f0e9a14aa1000154678ebab79794b8a..b42cda0236d4ea785eec220c2570ef8d8285d576 100644
--- a/remoting/host/it2me/it2me_native_messaging_host.h
+++ b/remoting/host/it2me/it2me_native_messaging_host.h
@@ -14,6 +14,7 @@
#include "build/build_config.h"
#include "extensions/browser/api/messaging/native_message_host.h"
#include "remoting/host/it2me/it2me_host.h"
+#include "remoting/signaling/delegating_signal_strategy.h"
#if !defined(OS_CHROMEOS)
#include "remoting/host/native_messaging/log_message_handler.h"
@@ -28,7 +29,6 @@ class SingleThreadTaskRunner;
namespace remoting {
class ChromotingHostContext;
-class DelegatingSignalStrategy;
class ElevatedNativeMessagingHost;
class PolicyWatcher;
@@ -94,7 +94,7 @@ class It2MeNativeMessagingHost : public It2MeHost::Observer,
#endif // defined(OS_WIN)
Client* client_ = nullptr;
- DelegatingSignalStrategy* delegating_signal_strategy_ = nullptr;
+ DelegatingSignalStrategy::IqCallback incoming_message_callback_;
std::unique_ptr<ChromotingHostContext> host_context_;
std::unique_ptr<It2MeHostFactory> factory_;
scoped_refptr<It2MeHost> it2me_host_;
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/host/it2me/it2me_native_messaging_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698