| Index: mojo/public/cpp/bindings/lib/interface_ptr_state.h
|
| diff --git a/mojo/public/cpp/bindings/lib/interface_ptr_state.h b/mojo/public/cpp/bindings/lib/interface_ptr_state.h
|
| index d772e21ac03a8a8c7f09a18ce2f34c0cc42a9067..a84727cda35a70518c3ae0d6ac2da1ba2b112397 100644
|
| --- a/mojo/public/cpp/bindings/lib/interface_ptr_state.h
|
| +++ b/mojo/public/cpp/bindings/lib/interface_ptr_state.h
|
| @@ -139,6 +139,11 @@ class InterfacePtrState<Interface, false> {
|
|
|
| AssociatedGroup* associated_group() { return nullptr; }
|
|
|
| + void SetAllowSyncDispatch(bool allowed) {
|
| + DCHECK(router_);
|
| + router_->SetAllowSyncDispatch(allowed);
|
| + }
|
| +
|
| void EnableTestingMode() {
|
| ConfigureProxyIfNecessary();
|
| router_->EnableTestingMode();
|
| @@ -294,6 +299,11 @@ class InterfacePtrState<Interface, true> {
|
| return endpoint_client_->associated_group();
|
| }
|
|
|
| + void SetAllowSyncDispatch(bool allowed) {
|
| + DCHECK(router_);
|
| + router_->SetAllowSyncDispatch(allowed);
|
| + }
|
| +
|
| void EnableTestingMode() {
|
| ConfigureProxyIfNecessary();
|
| router_->EnableTestingMode();
|
|
|