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

Unified Diff: mojo/system/raw_channel_unittest.cc

Issue 462563003: Mojo: Plumb "connection broken" out of RawChannel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« mojo/system/raw_channel_posix.cc ('K') | « mojo/system/raw_channel_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/raw_channel_unittest.cc
diff --git a/mojo/system/raw_channel_unittest.cc b/mojo/system/raw_channel_unittest.cc
index d5ca3863375aad4b83679ec9dac134e5374333f7..eaea1ed7e10e8d926c20c24c5dae880a327c4112 100644
--- a/mojo/system/raw_channel_unittest.cc
+++ b/mojo/system/raw_channel_unittest.cc
@@ -438,6 +438,10 @@ class ErrorRecordingRawChannelDelegate
expecting_read_error_ = false;
got_read_error_event_.Signal();
break;
+ case ERROR_READ_BROKEN:
+ // TODO(vtl): Test broken connections.
+ CHECK(false);
+ break;
case ERROR_READ_BAD_MESSAGE:
// TODO(vtl): Test reception/detection of bad messages.
CHECK(false);
« mojo/system/raw_channel_posix.cc ('K') | « mojo/system/raw_channel_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698