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

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

Issue 1765243002: Remove Mojo bindings environment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/BUILD.gn ('k') | ipc/mojo/ipc_mojo.gyp » ('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_IPC_MESSAGE_PIPE_READER_H_ 5 #ifndef IPC_IPC_MESSAGE_PIPE_READER_H_
6 #define IPC_IPC_MESSAGE_PIPE_READER_H_ 6 #define IPC_IPC_MESSAGE_PIPE_READER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/atomicops.h" 13 #include "base/atomicops.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/threading/thread_checker.h" 17 #include "base/threading/thread_checker.h"
18 #include "ipc/ipc_message.h" 18 #include "ipc/ipc_message.h"
19 #include "ipc/mojo/ipc.mojom.h" 19 #include "ipc/mojo/ipc.mojom.h"
20 #include "mojo/public/c/environment/async_waiter.h"
21 #include "mojo/public/cpp/bindings/associated_binding.h" 20 #include "mojo/public/cpp/bindings/associated_binding.h"
22 #include "mojo/public/cpp/system/core.h" 21 #include "mojo/public/cpp/system/core.h"
23 22
24 namespace IPC { 23 namespace IPC {
25 namespace internal { 24 namespace internal {
26 25
27 class AsyncHandleWaiter; 26 class AsyncHandleWaiter;
28 27
29 // A helper class to handle bytestream directly over mojo::MessagePipe 28 // A helper class to handle bytestream directly over mojo::MessagePipe
30 // in template-method pattern. MessagePipeReader manages the lifetime 29 // in template-method pattern. MessagePipeReader manages the lifetime
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 mojo::AssociatedBinding<mojom::Channel> binding_; 97 mojo::AssociatedBinding<mojom::Channel> binding_;
99 base::ThreadChecker thread_checker_; 98 base::ThreadChecker thread_checker_;
100 99
101 DISALLOW_COPY_AND_ASSIGN(MessagePipeReader); 100 DISALLOW_COPY_AND_ASSIGN(MessagePipeReader);
102 }; 101 };
103 102
104 } // namespace internal 103 } // namespace internal
105 } // namespace IPC 104 } // namespace IPC
106 105
107 #endif // IPC_IPC_MESSAGE_PIPE_READER_H_ 106 #endif // IPC_IPC_MESSAGE_PIPE_READER_H_
OLDNEW
« no previous file with comments | « ipc/mojo/BUILD.gn ('k') | ipc/mojo/ipc_mojo.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698