diff options
Diffstat (limited to 'mojo/edk/embedder/platform_channel_pair.cc')
-rw-r--r-- | mojo/edk/embedder/platform_channel_pair.cc | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/mojo/edk/embedder/platform_channel_pair.cc b/mojo/edk/embedder/platform_channel_pair.cc deleted file mode 100644 index 4e88bc9..0000000 --- a/mojo/edk/embedder/platform_channel_pair.cc +++ /dev/null @@ -1,32 +0,0 @@ -// 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/edk/embedder/platform_channel_pair.h" - -#include "base/logging.h" - -namespace mojo { -namespace embedder { - -const char PlatformChannelPair::kMojoPlatformChannelHandleSwitch[] = - "mojo-platform-channel-handle"; - -PlatformChannelPair::~PlatformChannelPair() { -} - -ScopedPlatformHandle PlatformChannelPair::PassServerHandle() { - return server_handle_.Pass(); -} - -ScopedPlatformHandle PlatformChannelPair::PassClientHandle() { - return client_handle_.Pass(); -} - -void PlatformChannelPair::ChildProcessLaunched() { - DCHECK(client_handle_.is_valid()); - client_handle_.reset(); -} - -} // namespace embedder -} // namespace mojo |