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

Unified Diff: mojo/edk/system/message_in_transit_queue.h

Issue 1153283004: Make TestChannelEndpointClient use MessageInTransitQueue. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | mojo/edk/system/message_in_transit_queue_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/message_in_transit_queue.h
diff --git a/mojo/edk/system/message_in_transit_queue.h b/mojo/edk/system/message_in_transit_queue.h
index 6c44f91ea49fce9d6bbfb117742d6b513edc93f3..f636aef459a2dd0d8af341461e56c0ec48c1b6cd 100644
--- a/mojo/edk/system/message_in_transit_queue.h
+++ b/mojo/edk/system/message_in_transit_queue.h
@@ -23,6 +23,7 @@ class MOJO_SYSTEM_IMPL_EXPORT MessageInTransitQueue {
~MessageInTransitQueue();
bool IsEmpty() const { return queue_.empty(); }
+ size_t Size() const { return queue_.size(); }
void AddMessage(scoped_ptr<MessageInTransit> message) {
queue_.push_back(message.release());
« no previous file with comments | « no previous file | mojo/edk/system/message_in_transit_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698