| 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..54513f9ececd63cb006313cb12de4cdf584f9963 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 SetAllowSyncDispatch(bool allowed) {
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + connector_.SetAllowSyncDispatch(allowed);
|
| + }
|
| +
|
| // Sets this object to testing mode.
|
| // In testing mode:
|
| // - the object is more tolerant of unrecognized response messages;
|
|
|