Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: remoting/host/ipc_util.h

Issue 2451953002: Use ChannelMojo between the remoting network and desktop processes. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/ipc_desktop_environment_unittest.cc ('k') | remoting/host/ipc_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_util.h
diff --git a/remoting/host/ipc_util.h b/remoting/host/ipc_util.h
index 2d444d7f01644400f573a3a1f6f4ee2137a40143..17b7c7144102a097b1883ba128a817bebc803725 100644
--- a/remoting/host/ipc_util.h
+++ b/remoting/host/ipc_util.h
@@ -5,42 +5,17 @@
#ifndef REMOTING_HOST_IPC_UTIL_H_
#define REMOTING_HOST_IPC_UTIL_H_
-#include <memory>
#include <string>
#include "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
#include "build/build_config.h"
-#include "ipc/ipc_platform_file.h"
#if defined(OS_WIN)
#include "base/win/scoped_handle.h"
#endif // defined(OS_WIN)
-namespace base {
-class File;
-class SingleThreadTaskRunner;
-} // namespace base
-
-namespace IPC {
-class ChannelProxy;
-class Listener;
-} // namespace IPC
-
namespace remoting {
-// Creates an already connected IPC channel. The server end of the channel
-// is wrapped into a channel proxy that will invoke methods of |listener|
-// on the caller's thread while using |io_task_runner| to send and receive
-// messages in the background. The client end is returned as a pipe handle
-// (inheritable on Windows).
-// The channel is registered with the global AttachmentBroker.
-bool CreateConnectedIpcChannel(
- scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
- IPC::Listener* listener,
- base::File* client_out,
- std::unique_ptr<IPC::ChannelProxy>* server_out);
-
#if defined(OS_WIN)
// Creates the server end of the IPC channel and applies the security
« no previous file with comments | « remoting/host/ipc_desktop_environment_unittest.cc ('k') | remoting/host/ipc_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698