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

Side by Side Diff: services/service_manager/public/cpp/lib/service_context.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 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 #include "services/service_manager/public/cpp/service_context.h" 5 #include "services/service_manager/public/cpp/service_context.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/ptr_util.h"
12 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
13 #include "base/threading/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
14 #include "mojo/public/cpp/bindings/interface_ptr.h" 15 #include "mojo/public/cpp/bindings/interface_ptr.h"
15 #include "mojo/public/cpp/bindings/interface_request.h" 16 #include "mojo/public/cpp/bindings/interface_request.h"
16 #include "services/service_manager/public/cpp/interface_provider_spec.h" 17 #include "services/service_manager/public/cpp/interface_provider_spec.h"
17 #include "services/service_manager/public/cpp/interface_registry.h" 18 #include "services/service_manager/public/cpp/interface_registry.h"
18 #include "services/service_manager/public/cpp/lib/connector_impl.h" 19 #include "services/service_manager/public/cpp/lib/connector_impl.h"
19 #include "services/service_manager/public/cpp/service.h" 20 #include "services/service_manager/public/cpp/service.h"
20 21
21 namespace service_manager { 22 namespace service_manager {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 } 147 }
147 148
148 void ServiceContext::DestroyConnectionInterfaceRegistry( 149 void ServiceContext::DestroyConnectionInterfaceRegistry(
149 InterfaceRegistry* registry) { 150 InterfaceRegistry* registry) {
150 auto it = connection_interface_registries_.find(registry); 151 auto it = connection_interface_registries_.find(registry);
151 CHECK(it != connection_interface_registries_.end()); 152 CHECK(it != connection_interface_registries_.end());
152 connection_interface_registries_.erase(it); 153 connection_interface_registries_.erase(it);
153 } 154 }
154 155
155 } // namespace service_manager 156 } // namespace service_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698