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

Unified Diff: chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc

Issue 10918255: The Windows portion of Native Messagaing (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Windows is Ready Created 8 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
Index: chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc
diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc b/chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc
index 00f7e80744a5b0415d7f5113ff66189e7b0f084c..aaf4d08aaf34e39ab6c491ded86db1542454b04b 100644
--- a/chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc
+++ b/chrome/browser/extensions/api/messaging/native_message_process_host_posix.cc
@@ -25,8 +25,11 @@ void NativeMessageProcessHost::InitIO() {
this);
}
+void NativeMessageProcessHost::StopIO() {
+}
+
void NativeMessageProcessHost::OnFileCanReadWithoutBlocking(int fd) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE));
+ DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
// Make sure that the fd given to us is the same one we started with.
CHECK_EQ(fd, read_file_);

Powered by Google App Engine
This is Rietveld 408576698