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

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

Issue 2696233002: Mojo C++ bindings: remove some usage of AssociatedGroup from user code. (Closed)
Patch Set: . Created 3 years, 10 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 #include "mojo/public/cpp/bindings/lib/multiplex_router.h" 5 #include "mojo/public/cpp/bindings/lib/multiplex_router.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/stl_util.h" 16 #include "base/stl_util.h"
17 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "mojo/public/cpp/bindings/associated_group.h"
19 #include "mojo/public/cpp/bindings/interface_endpoint_client.h" 18 #include "mojo/public/cpp/bindings/interface_endpoint_client.h"
20 #include "mojo/public/cpp/bindings/interface_endpoint_controller.h" 19 #include "mojo/public/cpp/bindings/interface_endpoint_controller.h"
21 #include "mojo/public/cpp/bindings/lib/may_auto_lock.h" 20 #include "mojo/public/cpp/bindings/lib/may_auto_lock.h"
22 #include "mojo/public/cpp/bindings/sync_handle_watcher.h" 21 #include "mojo/public/cpp/bindings/sync_handle_watcher.h"
23 22
24 namespace mojo { 23 namespace mojo {
25 namespace internal { 24 namespace internal {
26 25
27 // InterfaceEndpoint stores the information of an interface endpoint registered 26 // InterfaceEndpoint stores the information of an interface endpoint registered
28 // with the router. 27 // with the router.
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 973
975 void MultiplexRouter::AssertLockAcquired() { 974 void MultiplexRouter::AssertLockAcquired() {
976 #if DCHECK_IS_ON() 975 #if DCHECK_IS_ON()
977 if (lock_) 976 if (lock_)
978 lock_->AssertAcquired(); 977 lock_->AssertAcquired();
979 #endif 978 #endif
980 } 979 }
981 980
982 } // namespace internal 981 } // namespace internal
983 } // namespace mojo 982 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/associated_interface_ptr.h ('k') | mojo/public/cpp/bindings/tests/associated_interface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698