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

Unified Diff: mojo/public/cpp/bindings/binding.h

Issue 2725133002: Mojo: Armed Watchers (Closed)
Patch Set: . Created 3 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/binding.h
diff --git a/mojo/public/cpp/bindings/binding.h b/mojo/public/cpp/bindings/binding.h
index 1da331bb118cc964e12b37d584aea5fa33a7ba85..ba5954c2cd7784dc0859aae08d4a55dfaee812f8 100644
--- a/mojo/public/cpp/bindings/binding.h
+++ b/mojo/public/cpp/bindings/binding.h
@@ -208,6 +208,10 @@ class Binding {
internal_state_.CloseWithReason(custom_reason, description);
}
+ void EnableNestedDispatch(bool enabled) {
+ internal_state_.EnableNestedDispatch(enabled);
+ }
+
// Unbinds the underlying pipe from this binding and returns it so it can be
// used in another context, such as on another thread or with a different
// implementation. Put this object into a state where it can be rebound to a

Powered by Google App Engine
This is Rietveld 408576698