| OLD | NEW | 
|---|
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "ipc/mojo/ipc_mojo_handle_attachment.h" | 5 #include "ipc/ipc_mojo_handle_attachment.h" | 
| 6 | 6 | 
| 7 #include <utility> | 7 #include <utility> | 
| 8 | 8 | 
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" | 
| 10 | 10 | 
| 11 namespace IPC { | 11 namespace IPC { | 
| 12 namespace internal { | 12 namespace internal { | 
| 13 | 13 | 
| 14 MojoHandleAttachment::MojoHandleAttachment(mojo::ScopedHandle handle) | 14 MojoHandleAttachment::MojoHandleAttachment(mojo::ScopedHandle handle) | 
| 15     : handle_(std::move(handle)) {} | 15     : handle_(std::move(handle)) {} | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 27   return base::kInvalidPlatformFile; | 27   return base::kInvalidPlatformFile; | 
| 28 } | 28 } | 
| 29 #endif  // OS_POSIX | 29 #endif  // OS_POSIX | 
| 30 | 30 | 
| 31 mojo::ScopedHandle MojoHandleAttachment::TakeHandle() { | 31 mojo::ScopedHandle MojoHandleAttachment::TakeHandle() { | 
| 32   return std::move(handle_); | 32   return std::move(handle_); | 
| 33 } | 33 } | 
| 34 | 34 | 
| 35 }  // namespace internal | 35 }  // namespace internal | 
| 36 }  // namespace IPC | 36 }  // namespace IPC | 
| OLD | NEW | 
|---|