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

Unified Diff: chrome/browser/extensions/api/messaging/native_message_process_host.h

Issue 24409004: Disconnect native messaging port on read pipe EOF. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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: chrome/browser/extensions/api/messaging/native_message_process_host.h
diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host.h b/chrome/browser/extensions/api/messaging/native_message_process_host.h
index a6638a47ae95c36957c3974163843629b4d42354..90a3fbbb52158f8f79e9f6ae384db8621c296bc8 100644
--- a/chrome/browser/extensions/api/messaging/native_message_process_host.h
+++ b/chrome/browser/extensions/api/messaging/native_message_process_host.h
@@ -148,9 +148,6 @@ class NativeMessageProcessHost
// Set to true when a read is pending.
bool read_pending_;
- // Set to true once we've read EOF from the child process.
- bool read_eof_;
-
// Buffer for incomplete incoming messages.
std::string incoming_data_;

Powered by Google App Engine
This is Rietveld 408576698