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

Side by Side Diff: mojo/edk/system/data_pipe_consumer_dispatcher.h

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 years 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 | « jingle/notifier/communicator/login.h ('k') | mojo/edk/system/data_pipe_control_message.h » ('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 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 #ifndef MOJO_EDK_SYSTEM_DATA_PIPE_CONSUMER_DISPATCHER_H_ 5 #ifndef MOJO_EDK_SYSTEM_DATA_PIPE_CONSUMER_DISPATCHER_H_
6 #define MOJO_EDK_SYSTEM_DATA_PIPE_CONSUMER_DISPATCHER_H_ 6 #define MOJO_EDK_SYSTEM_DATA_PIPE_CONSUMER_DISPATCHER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "mojo/edk/embedder/platform_handle_vector.h" 16 #include "mojo/edk/embedder/platform_handle_vector.h"
17 #include "mojo/edk/embedder/platform_shared_buffer.h" 17 #include "mojo/edk/embedder/platform_shared_buffer.h"
18 #include "mojo/edk/embedder/scoped_platform_handle.h" 18 #include "mojo/edk/embedder/scoped_platform_handle.h"
19 #include "mojo/edk/system/awakable_list.h" 19 #include "mojo/edk/system/awakable_list.h"
20 #include "mojo/edk/system/dispatcher.h" 20 #include "mojo/edk/system/dispatcher.h"
21 #include "mojo/edk/system/ports/port_ref.h" 21 #include "mojo/edk/system/ports/port_ref.h"
22 #include "mojo/edk/system/system_impl_export.h" 22 #include "mojo/edk/system/system_impl_export.h"
23 23
24 namespace mojo { 24 namespace mojo {
25 namespace edk { 25 namespace edk {
26 26
27 struct DataPipeControlMessage;
28 class NodeController; 27 class NodeController;
29 28
30 // This is the Dispatcher implementation for the consumer handle for data 29 // This is the Dispatcher implementation for the consumer handle for data
31 // pipes created by the Mojo primitive MojoCreateDataPipe(). This class is 30 // pipes created by the Mojo primitive MojoCreateDataPipe(). This class is
32 // thread-safe. 31 // thread-safe.
33 class MOJO_SYSTEM_IMPL_EXPORT DataPipeConsumerDispatcher final 32 class MOJO_SYSTEM_IMPL_EXPORT DataPipeConsumerDispatcher final
34 : public Dispatcher { 33 : public Dispatcher {
35 public: 34 public:
36 DataPipeConsumerDispatcher( 35 DataPipeConsumerDispatcher(
37 NodeController* node_controller, 36 NodeController* node_controller,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 uint32_t read_offset_ = 0; 117 uint32_t read_offset_ = 0;
119 uint32_t bytes_available_ = 0; 118 uint32_t bytes_available_ = 0;
120 119
121 DISALLOW_COPY_AND_ASSIGN(DataPipeConsumerDispatcher); 120 DISALLOW_COPY_AND_ASSIGN(DataPipeConsumerDispatcher);
122 }; 121 };
123 122
124 } // namespace edk 123 } // namespace edk
125 } // namespace mojo 124 } // namespace mojo
126 125
127 #endif // MOJO_EDK_SYSTEM_DATA_PIPE_CONSUMER_DISPATCHER_H_ 126 #endif // MOJO_EDK_SYSTEM_DATA_PIPE_CONSUMER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « jingle/notifier/communicator/login.h ('k') | mojo/edk/system/data_pipe_control_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698