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

Side by Side Diff: ipc/mojo/ipc_mojo_bootstrap.h

Issue 846443006: Include Mojo SDK/EDK via fully-qualified paths in Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include to satisfy checkdeps Created 5 years, 11 months 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 unified diff | Download patch
« no previous file with comments | « ipc/mojo/ipc_message_pipe_reader.h ('k') | ipc/mojo/ipc_mojo_bootstrap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef IPC_MOJO_IPC_MOJO_BOOTSTRAP_H_ 5 #ifndef IPC_MOJO_IPC_MOJO_BOOTSTRAP_H_
6 #define IPC_MOJO_IPC_MOJO_BOOTSTRAP_H_ 6 #define IPC_MOJO_IPC_MOJO_BOOTSTRAP_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/process/process_handle.h" 9 #include "base/process/process_handle.h"
10 #include "ipc/ipc_channel.h" 10 #include "ipc/ipc_channel.h"
11 #include "ipc/ipc_listener.h" 11 #include "ipc/ipc_listener.h"
12 #include "mojo/edk/embedder/scoped_platform_handle.h" 12 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h"
13 13
14 namespace IPC { 14 namespace IPC {
15 15
16 // MojoBootstrap establishes a bootstrap pipe between two processes in 16 // MojoBootstrap establishes a bootstrap pipe between two processes in
17 // Chrome. It creates a native IPC::Channel first, then sends one 17 // Chrome. It creates a native IPC::Channel first, then sends one
18 // side of a newly created pipe to peer process. The pipe is intended 18 // side of a newly created pipe to peer process. The pipe is intended
19 // to be wrapped by Mojo MessagePipe. 19 // to be wrapped by Mojo MessagePipe.
20 // 20 //
21 // Clients should implement MojoBootstrapDelegate to get the pipe 21 // Clients should implement MojoBootstrapDelegate to get the pipe
22 // from MojoBootstrap object. It should also tell the client process handle 22 // from MojoBootstrap object. It should also tell the client process handle
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 scoped_ptr<Channel> channel_; 78 scoped_ptr<Channel> channel_;
79 Delegate* delegate_; 79 Delegate* delegate_;
80 State state_; 80 State state_;
81 81
82 DISALLOW_COPY_AND_ASSIGN(MojoBootstrap); 82 DISALLOW_COPY_AND_ASSIGN(MojoBootstrap);
83 }; 83 };
84 84
85 } // namespace IPC 85 } // namespace IPC
86 86
87 #endif // IPC_MOJO_IPC_MOJO_BOOTSTRAP_H_ 87 #endif // IPC_MOJO_IPC_MOJO_BOOTSTRAP_H_
OLDNEW
« no previous file with comments | « ipc/mojo/ipc_message_pipe_reader.h ('k') | ipc/mojo/ipc_mojo_bootstrap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698