| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 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 #ifndef REMOTING_HOST_IPC_UTIL_H_ | |
| 6 #define REMOTING_HOST_IPC_UTIL_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/compiler_specific.h" | |
| 11 #include "build/build_config.h" | |
| 12 | |
| 13 #if defined(OS_WIN) | |
| 14 #include "base/win/scoped_handle.h" | |
| 15 #endif // defined(OS_WIN) | |
| 16 | |
| 17 namespace remoting { | |
| 18 | |
| 19 #if defined(OS_WIN) | |
| 20 | |
| 21 // Creates the server end of the IPC channel and applies the security | |
| 22 // descriptor |pipe_security_descriptor| to it. | |
| 23 bool CreateIpcChannel( | |
| 24 const std::string& channel_name, | |
| 25 const std::string& pipe_security_descriptor, | |
| 26 base::win::ScopedHandle* pipe_out); | |
| 27 | |
| 28 #endif // defined(OS_WIN) | |
| 29 | |
| 30 } // namespace remoting | |
| 31 | |
| 32 #endif // REMOTING_HOST_IPC_UTIL_H_ | |
| OLD | NEW |