service_connector.cc revision cedac228d2dd51db4b79ea1e72c7f249408ee061
1// Copyright 2014 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/application/lib/service_connector.h" 6 7namespace mojo { 8namespace internal { 9 10ServiceConnectorBase::Owner::Owner() {} 11 12ServiceConnectorBase::Owner::Owner( 13 ScopedMessagePipeHandle service_provider_handle) { 14 service_provider_.Bind(service_provider_handle.Pass()); 15 service_provider_.set_client(this); 16} 17 18ServiceConnectorBase::Owner::~Owner() {} 19 20ServiceConnectorBase::~ServiceConnectorBase() {} 21 22} // namespace internal 23} // namespace mojo 24