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

Unified Diff: mojo/public/bindings/lib/message_queue.h

Issue 65043004: Add better handle tracking, and optimize Connector::Accept. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update per review feedback Created 7 years, 1 month 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 | « mojo/public/bindings/lib/message.cc ('k') | mojo/public/bindings/lib/message_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/lib/message_queue.h
diff --git a/mojo/public/bindings/lib/message_queue.h b/mojo/public/bindings/lib/message_queue.h
index 97ce6c0fb5252fca04f46f9476be5c7b3795d90f..bc9c377f5906458600b4b0c27250cea79741e7cf 100644
--- a/mojo/public/bindings/lib/message_queue.h
+++ b/mojo/public/bindings/lib/message_queue.h
@@ -20,7 +20,7 @@ class MessageQueue {
~MessageQueue();
bool IsEmpty() const;
- const Message* Peek() const;
+ Message* Peek();
// This method transfers ownership of |message->data| and |message->handles|
// to the message queue, resetting |message| in the process.
« no previous file with comments | « mojo/public/bindings/lib/message.cc ('k') | mojo/public/bindings/lib/message_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698