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

Unified Diff: mojo/public/cpp/bindings/lib/multiplex_router.h

Issue 1811433002: [mojo-edk] Expose notification source to MojoWatch callbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename Created 4 years, 9 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/bindings/lib/multiplex_router.h
diff --git a/mojo/public/cpp/bindings/lib/multiplex_router.h b/mojo/public/cpp/bindings/lib/multiplex_router.h
index d2ce406bf96cc75bf57cce54e69a7b28d3ba1282..76c219e9101539139e1b8378a06c164b892d5f7c 100644
--- a/mojo/public/cpp/bindings/lib/multiplex_router.h
+++ b/mojo/public/cpp/bindings/lib/multiplex_router.h
@@ -145,6 +145,11 @@ class MultiplexRouter
return connector_.handle();
}
+ // See Binding for comments.
+ void EnableImmediateDispatchOfEventsFromSameThread(bool enabled) {
yzshen1 2016/03/16 18:31:33 nit: DCHECK(thread_checker_.CalledOnValidThread())
+ connector_.EnableImmediateDispatchOfEventsFromSameThread(enabled);
+ }
+
private:
friend class base::RefCountedDeleteOnMessageLoop<MultiplexRouter>;
friend class base::DeleteHelper<MultiplexRouter>;

Powered by Google App Engine
This is Rietveld 408576698