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

Unified Diff: mojo/public/cpp/system/watcher.h

Issue 2033243003: Use Mojo pipes to signal sync IPC events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: mojo/public/cpp/system/watcher.h
diff --git a/mojo/public/cpp/system/watcher.h b/mojo/public/cpp/system/watcher.h
index 34a61f8b0c822d5be07a9c1a29550c264f9d3938..82f3e816fb22e94bb24cf05f7c7899195c38bdd7 100644
--- a/mojo/public/cpp/system/watcher.h
+++ b/mojo/public/cpp/system/watcher.h
@@ -77,6 +77,9 @@ class Watcher {
// passed to |Start()| will never be called again for this Watcher.
void Cancel();
+ Handle handle() const { return handle_; }
+ ReadyCallback ready_callback() const { return callback_; }
+
private:
class MessageLoopObserver;
friend class MessageLoopObserver;

Powered by Google App Engine
This is Rietveld 408576698