| Index: mojo/public/cpp/bindings/lib/binding_state.h
|
| diff --git a/mojo/public/cpp/bindings/lib/binding_state.h b/mojo/public/cpp/bindings/lib/binding_state.h
|
| index feef835be10fa89802fb2558fff4e44faac61fab..1288ad87c15a2ec677ee3fb4204bf7291b6d5529 100644
|
| --- a/mojo/public/cpp/bindings/lib/binding_state.h
|
| +++ b/mojo/public/cpp/bindings/lib/binding_state.h
|
| @@ -106,6 +106,11 @@ class BindingState<Interface, false> {
|
|
|
| AssociatedGroup* associated_group() { return nullptr; }
|
|
|
| + void SetAllowSyncDispatch(bool allowed) {
|
| + DCHECK(is_bound());
|
| + router_->SetAllowSyncDispatch(allowed);
|
| + }
|
| +
|
| void EnableTestingMode() {
|
| DCHECK(is_bound());
|
| router_->EnableTestingMode();
|
| @@ -209,6 +214,11 @@ class BindingState<Interface, true> {
|
| return endpoint_client_ ? endpoint_client_->associated_group() : nullptr;
|
| }
|
|
|
| + void SetAllowSyncDispatch(bool allowed) {
|
| + DCHECK(is_bound());
|
| + router_->SetAllowSyncDispatch(allowed);
|
| + }
|
| +
|
| void EnableTestingMode() {
|
| DCHECK(is_bound());
|
| router_->EnableTestingMode();
|
|
|