Index: mojo/public/cpp/bindings/lib/router.h |
diff --git a/mojo/public/cpp/bindings/lib/router.h b/mojo/public/cpp/bindings/lib/router.h |
index 6374f18a59bb4be8b4e9a68091e4d6b0b5748568..78cccc42fe627319fedd735f032bd67f83fbf0b7 100644 |
--- a/mojo/public/cpp/bindings/lib/router.h |
+++ b/mojo/public/cpp/bindings/lib/router.h |
@@ -93,6 +93,12 @@ class Router : public MessageReceiverWithResponder { |
connector_.ResumeIncomingMethodCallProcessing(); |
} |
+ // See Binding for comments. |
+ void EnableImmediateDispatchOfEventsFromSameThread(bool allowed) { |
+ DCHECK(thread_checker_.CalledOnValidThread()); |
+ connector_.EnableImmediateDispatchOfEventsFromSameThread(allowed); |
+ } |
+ |
// Sets this object to testing mode. |
// In testing mode: |
// - the object is more tolerant of unrecognized response messages; |