OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 "remoting/host/ipc_util.h" | 5 #include "remoting/host/ipc_util.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "base/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "base/win/scoped_handle.h" | 11 #include "base/win/scoped_handle.h" |
12 #include "base/win/win_util.h" | 12 #include "base/win/win_util.h" |
13 #include "ipc/ipc_channel.h" | 13 #include "ipc/ipc_channel.h" |
14 #include "ipc/ipc_channel_proxy.h" | 14 #include "ipc/ipc_channel_proxy.h" |
15 #include "remoting/host/win/security_descriptor.h" | 15 #include "remoting/host/win/security_descriptor.h" |
16 | 16 |
17 using base::win::ScopedHandle; | 17 using base::win::ScopedHandle; |
18 | 18 |
19 namespace remoting { | 19 namespace remoting { |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 LOG_GETLASTERROR(ERROR) << | 124 LOG_GETLASTERROR(ERROR) << |
125 "Failed to create the server end of the Chromoting IPC channel"; | 125 "Failed to create the server end of the Chromoting IPC channel"; |
126 return false; | 126 return false; |
127 } | 127 } |
128 | 128 |
129 *pipe_out = pipe.Pass(); | 129 *pipe_out = pipe.Pass(); |
130 return true; | 130 return true; |
131 } | 131 } |
132 | 132 |
133 } // namespace remoting | 133 } // namespace remoting |
OLD | NEW |