diff options
Diffstat (limited to 'mojo/public/cpp/bindings/lib/associated_group_controller.cc')
-rw-r--r-- | mojo/public/cpp/bindings/lib/associated_group_controller.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mojo/public/cpp/bindings/lib/associated_group_controller.cc b/mojo/public/cpp/bindings/lib/associated_group_controller.cc new file mode 100644 index 0000000000..f4a9aa2852 --- /dev/null +++ b/mojo/public/cpp/bindings/lib/associated_group_controller.cc @@ -0,0 +1,24 @@ +// Copyright 2016 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "mojo/public/cpp/bindings/associated_group_controller.h" + +#include "mojo/public/cpp/bindings/associated_group.h" + +namespace mojo { + +AssociatedGroupController::~AssociatedGroupController() {} + +ScopedInterfaceEndpointHandle +AssociatedGroupController::CreateScopedInterfaceEndpointHandle(InterfaceId id) { + return ScopedInterfaceEndpointHandle(id, this); +} + +bool AssociatedGroupController::NotifyAssociation( + ScopedInterfaceEndpointHandle* handle_to_send, + InterfaceId id) { + return handle_to_send->NotifyAssociation(id, this); +} + +} // namespace mojo |