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

Unified Diff: remoting/host/native_messaging/native_messaging_pipe.h

Issue 887853002: Shutdown the It2Me host cleanly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@it2me_host_dcheck
Patch Set: Created 5 years, 11 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/native_messaging/native_messaging_pipe.h
diff --git a/remoting/host/native_messaging/native_messaging_pipe.h b/remoting/host/native_messaging/native_messaging_pipe.h
index 927b8d3ffe25c916b61a4c8a283f6fc5c30b06a4..a333943e4ea9c40cdddad112a25512375f38bbb8 100644
--- a/remoting/host/native_messaging/native_messaging_pipe.h
+++ b/remoting/host/native_messaging/native_messaging_pipe.h
@@ -26,8 +26,7 @@ class NativeMessagingPipe
// Starts processing messages from the pipe.
void Start(scoped_ptr<extensions::NativeMessageHost> host,
- scoped_ptr<extensions::NativeMessagingChannel> channel,
- const base::Closure& quit_closure);
+ scoped_ptr<extensions::NativeMessagingChannel> channel);
// extensions::NativeMessageHost::Client implementation.
void PostMessageFromNativeHost(const std::string& message) override;
@@ -38,7 +37,6 @@ class NativeMessagingPipe
void OnDisconnect() override;
private:
- base::Closure quit_closure_;
scoped_ptr<extensions::NativeMessagingChannel> channel_;
scoped_ptr<extensions::NativeMessageHost> host_;
« no previous file with comments | « remoting/host/it2me/it2me_native_messaging_host_unittest.cc ('k') | remoting/host/native_messaging/native_messaging_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698