blob: f1cd594cf0d7bef76d526fe9f0c196476d6da3f5 [file] [log] [blame]
[email protected]35cfded2014-01-10 20:50:181// 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]35cfded2014-01-10 20:50:188
9namespace mojo {
10namespace system {
11
12PlatformChannelPair::~PlatformChannelPair() {
[email protected]35cfded2014-01-10 20:50:1813}
14
[email protected]544076a2014-01-14 16:30:4315ScopedPlatformHandle PlatformChannelPair::PassServerHandle() {
16 return server_handle_.Pass();
[email protected]35cfded2014-01-10 20:50:1817}
18
[email protected]544076a2014-01-14 16:30:4319ScopedPlatformHandle PlatformChannelPair::PassClientHandle() {
20 return client_handle_.Pass();
[email protected]35cfded2014-01-10 20:50:1821}
22
23} // namespace system
24} // namespace mojo