Index: mojo/shell/scoped_message_pipe.cc |
diff --git a/mojo/shell/scoped_message_pipe.cc b/mojo/shell/scoped_message_pipe.cc |
deleted file mode 100644 |
index 863e140b83e3498754f7fd2370ba8e0a5d8f7d18..0000000000000000000000000000000000000000 |
--- a/mojo/shell/scoped_message_pipe.cc |
+++ /dev/null |
@@ -1,25 +0,0 @@ |
-// Copyright 2013 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/shell/scoped_message_pipe.h" |
- |
-namespace mojo { |
-namespace shell { |
- |
-ScopedMessagePipe::ScopedMessagePipe() |
- : handle_0_(MOJO_HANDLE_INVALID), |
- handle_1_(MOJO_HANDLE_INVALID) { |
- MojoCreateMessagePipe(&handle_0_, &handle_1_); |
-} |
- |
-ScopedMessagePipe::~ScopedMessagePipe() { |
- if (handle_0_ != MOJO_HANDLE_INVALID) |
- MojoClose(handle_0_); |
- |
- if (handle_1_ != MOJO_HANDLE_INVALID) |
- MojoClose(handle_1_); |
-} |
- |
-} // namespace shell |
-} // namespace mojo |