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

Side by Side Diff: content/shell/utility/shell_content_utility_client.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 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 "content/shell/utility/shell_content_utility_client.h" 5 #include "content/shell/utility/shell_content_utility_client.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/memory/ptr_util.h"
12 #include "base/process/process.h" 13 #include "base/process/process.h"
13 #include "content/public/test/test_service.h" 14 #include "content/public/test/test_service.h"
14 #include "content/public/test/test_service.mojom.h" 15 #include "content/public/test/test_service.mojom.h"
15 #include "mojo/public/cpp/bindings/strong_binding.h" 16 #include "mojo/public/cpp/bindings/strong_binding.h"
16 #include "mojo/public/cpp/system/buffer.h" 17 #include "mojo/public/cpp/system/buffer.h"
17 #include "services/service_manager/public/cpp/interface_registry.h" 18 #include "services/service_manager/public/cpp/interface_registry.h"
18 19
19 namespace content { 20 namespace content {
20 21
21 namespace { 22 namespace {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 info.factory = base::Bind(&CreateTestService); 81 info.factory = base::Bind(&CreateTestService);
81 services->insert(std::make_pair(kTestServiceUrl, info)); 82 services->insert(std::make_pair(kTestServiceUrl, info));
82 } 83 }
83 84
84 void ShellContentUtilityClient::ExposeInterfacesToBrowser( 85 void ShellContentUtilityClient::ExposeInterfacesToBrowser(
85 service_manager::InterfaceRegistry* registry) { 86 service_manager::InterfaceRegistry* registry) {
86 registry->AddInterface(base::Bind(&TestServiceImpl::Create)); 87 registry->AddInterface(base::Bind(&TestServiceImpl::Create));
87 } 88 }
88 89
89 } // namespace content 90 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/renderer/layout_test/layout_test_content_renderer_client.cc ('k') | device/bluetooth/device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698