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

Side by Side Diff: mojo/public/cpp/bindings/lib/multiplex_router.h

Issue 2185723002: Eliminate deferred destruction of AssociatedGroupController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PUBLIC_CPP_BINDINGS_LIB_MULTIPLEX_ROUTER_H_ 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_MULTIPLEX_ROUTER_H_
6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_MULTIPLEX_ROUTER_H_ 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_MULTIPLEX_ROUTER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 EndpointStateUpdateType type); 194 EndpointStateUpdateType type);
195 195
196 void RaiseErrorInNonTestingMode(); 196 void RaiseErrorInNonTestingMode();
197 197
198 InterfaceEndpoint* FindOrInsertEndpoint(InterfaceId id, bool* inserted); 198 InterfaceEndpoint* FindOrInsertEndpoint(InterfaceId id, bool* inserted);
199 199
200 // Whether to set the namespace bit when generating interface IDs. Please see 200 // Whether to set the namespace bit when generating interface IDs. Please see
201 // comments of kInterfaceIdNamespaceMask. 201 // comments of kInterfaceIdNamespaceMask.
202 const bool set_interface_id_namespace_bit_; 202 const bool set_interface_id_namespace_bit_;
203 203
204 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
205
204 MessageHeaderValidator header_validator_; 206 MessageHeaderValidator header_validator_;
205 Connector connector_; 207 Connector connector_;
206 208
207 base::ThreadChecker thread_checker_; 209 base::ThreadChecker thread_checker_;
208 210
209 // Protects the following members. 211 // Protects the following members.
210 mutable base::Lock lock_; 212 mutable base::Lock lock_;
211 PipeControlMessageHandler control_message_handler_; 213 PipeControlMessageHandler control_message_handler_;
212 PipeControlMessageProxy control_message_proxy_; 214 PipeControlMessageProxy control_message_proxy_;
213 215
(...skipping 13 matching lines...) Expand all
227 229
228 bool testing_mode_; 230 bool testing_mode_;
229 231
230 DISALLOW_COPY_AND_ASSIGN(MultiplexRouter); 232 DISALLOW_COPY_AND_ASSIGN(MultiplexRouter);
231 }; 233 };
232 234
233 } // namespace internal 235 } // namespace internal
234 } // namespace mojo 236 } // namespace mojo
235 237
236 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_MULTIPLEX_ROUTER_H_ 238 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_MULTIPLEX_ROUTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698