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

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

Issue 2702603002: Mojo C++ bindings: remove unnecessary getters/params of AssociatedGroup. (Closed)
Patch Set: . Created 3 years, 10 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
« no previous file with comments | « mojo/public/cpp/bindings/associated_interface_ptr.h ('k') | mojo/public/cpp/bindings/interface_ptr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/binding.h
diff --git a/mojo/public/cpp/bindings/binding.h b/mojo/public/cpp/bindings/binding.h
index 740a3952d2dc5a6c88af469b9e3b8443cf4363e5..1da331bb118cc964e12b37d584aea5fa33a7ba85 100644
--- a/mojo/public/cpp/bindings/binding.h
+++ b/mojo/public/cpp/bindings/binding.h
@@ -23,7 +23,6 @@
namespace mojo {
-class AssociatedGroup;
class MessageReceiver;
// Represents the binding of an interface implementation to a message pipe.
@@ -257,14 +256,6 @@ class Binding {
// transferred to the caller.
MessagePipeHandle handle() const { return internal_state_.handle(); }
- // Returns the associated group that this object belongs to. Returns null if:
- // - this object is not bound; or
- // - the interface doesn't have methods to pass associated interface
- // pointers or requests.
- AssociatedGroup* associated_group() {
- return internal_state_.associated_group();
- }
-
// Sends a no-op message on the underlying message pipe and runs the current
// message loop until its response is received. This can be used in tests to
// verify that no message was sent on a message pipe in response to some
« no previous file with comments | « mojo/public/cpp/bindings/associated_interface_ptr.h ('k') | mojo/public/cpp/bindings/interface_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698