[email protected] | 35cfded | 2014-01-10 20:50:18 | [diff] [blame] | 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/system/platform_channel_pair.h" | ||||
6 | |||||
7 | #include "base/logging.h" | ||||
[email protected] | 35cfded | 2014-01-10 20:50:18 | [diff] [blame] | 8 | |
9 | namespace mojo { | ||||
10 | namespace system { | ||||
11 | |||||
12 | PlatformChannelPair::~PlatformChannelPair() { | ||||
[email protected] | 35cfded | 2014-01-10 20:50:18 | [diff] [blame] | 13 | } |
14 | |||||
[email protected] | 544076a | 2014-01-14 16:30:43 | [diff] [blame^] | 15 | ScopedPlatformHandle PlatformChannelPair::PassServerHandle() { |
16 | return server_handle_.Pass(); | ||||
[email protected] | 35cfded | 2014-01-10 20:50:18 | [diff] [blame] | 17 | } |
18 | |||||
[email protected] | 544076a | 2014-01-14 16:30:43 | [diff] [blame^] | 19 | ScopedPlatformHandle PlatformChannelPair::PassClientHandle() { |
20 | return client_handle_.Pass(); | ||||
[email protected] | 35cfded | 2014-01-10 20:50:18 | [diff] [blame] | 21 | } |
22 | |||||
23 | } // namespace system | ||||
24 | } // namespace mojo |