summaryrefslogtreecommitdiffstats
path: root/mojo/system/handle_table.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-13 22:40:06 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-13 22:40:06 +0000
commitd1e0c221a522f1e9a4691faf4bee7fb6a3de99de (patch)
tree97286786eb1927e7d87d3f40c1bcbd593939fa22 /mojo/system/handle_table.cc
parent2ef8ba538b567d2c4e175a5cf55eb63a34778a6b (diff)
downloadchromium_src-d1e0c221a522f1e9a4691faf4bee7fb6a3de99de.zip
chromium_src-d1e0c221a522f1e9a4691faf4bee7fb6a3de99de.tar.gz
chromium_src-d1e0c221a522f1e9a4691faf4bee7fb6a3de99de.tar.bz2
Mojo: Add a dispatcher that wraps a PlatformHandle (for use by the embedder).
Still to do: more tests -- test the embedder API and see if they can be sent over a message pipe across processes (on POSIX; it's theoretically implemented for POSIX and not yet implemented on Windows). R=darin@chromium.org Review URL: https://codereview.chromium.org/287663002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270230 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/system/handle_table.cc')
-rw-r--r--mojo/system/handle_table.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/mojo/system/handle_table.cc b/mojo/system/handle_table.cc
index dd5a5f4..2e4d22a 100644
--- a/mojo/system/handle_table.cc
+++ b/mojo/system/handle_table.cc
@@ -111,6 +111,7 @@ MojoResult HandleTable::MarkBusyAndStartTransport(
DCHECK(handles);
DCHECK_LE(num_handles, kMaxMessageNumHandles);
DCHECK(transports);
+ DCHECK_EQ(transports->size(), num_handles);
std::vector<Entry*> entries(num_handles);