Home | History | Annotate | Download | only in lib
      1 // Copyright 2016 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #include "mojo/public/cpp/bindings/associated_group_controller.h"
      6 
      7 #include "mojo/public/cpp/bindings/associated_group.h"
      8 
      9 namespace mojo {
     10 
     11 AssociatedGroupController::~AssociatedGroupController() {}
     12 
     13 ScopedInterfaceEndpointHandle
     14 AssociatedGroupController::CreateScopedInterfaceEndpointHandle(InterfaceId id) {
     15   return ScopedInterfaceEndpointHandle(id, this);
     16 }
     17 
     18 bool AssociatedGroupController::NotifyAssociation(
     19     ScopedInterfaceEndpointHandle* handle_to_send,
     20     InterfaceId id) {
     21   return handle_to_send->NotifyAssociation(id, this);
     22 }
     23 
     24 }  // namespace mojo
     25