summaryrefslogtreecommitdiffstats
path: root/mojo/public/cpp/application/lib/service_connector.cc
blob: 10bda99c1a2237200fa0602d9ea93f0133ca9fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2014 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/application/lib/service_connector.h"

namespace mojo {
namespace internal {

ServiceConnectorBase::Owner::Owner(
    ScopedMessagePipeHandle service_provider_handle) {
  service_provider_.Bind(service_provider_handle.Pass());
  service_provider_.set_client(this);
}

ServiceConnectorBase::Owner::~Owner() {}

ServiceConnectorBase::~ServiceConnectorBase() {}

}  // namespace internal
}  // namespace mojo