OLD | NEW |
| (Empty) |
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 | |
7 namespace mojo { | |
8 namespace internal { | |
9 | |
10 ServiceConnectorBase::Owner::Owner( | |
11 ScopedMessagePipeHandle service_provider_handle) { | |
12 service_provider_.Bind(service_provider_handle.Pass()); | |
13 service_provider_.set_client(this); | |
14 } | |
15 | |
16 ServiceConnectorBase::Owner::~Owner() {} | |
17 | |
18 ServiceConnectorBase::~ServiceConnectorBase() {} | |
19 | |
20 } // namespace internal | |
21 } // namespace mojo | |
OLD | NEW |