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

Side by Side Diff: net/proxy/in_process_mojo_proxy_resolver_factory.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 "net/proxy/in_process_mojo_proxy_resolver_factory.h" 5 #include "net/proxy/in_process_mojo_proxy_resolver_factory.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h"
9 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
10 #include "mojo/public/cpp/bindings/strong_binding.h" 11 #include "mojo/public/cpp/bindings/strong_binding.h"
11 #include "net/proxy/mojo_proxy_resolver_factory_impl.h" 12 #include "net/proxy/mojo_proxy_resolver_factory_impl.h"
12 13
13 namespace net { 14 namespace net {
14 15
15 // static 16 // static
16 InProcessMojoProxyResolverFactory* 17 InProcessMojoProxyResolverFactory*
17 InProcessMojoProxyResolverFactory::GetInstance() { 18 InProcessMojoProxyResolverFactory::GetInstance() {
18 return base::Singleton<InProcessMojoProxyResolverFactory>::get(); 19 return base::Singleton<InProcessMojoProxyResolverFactory>::get();
(...skipping 10 matching lines...) Expand all
29 std::unique_ptr<base::ScopedClosureRunner> 30 std::unique_ptr<base::ScopedClosureRunner>
30 InProcessMojoProxyResolverFactory::CreateResolver( 31 InProcessMojoProxyResolverFactory::CreateResolver(
31 const std::string& pac_script, 32 const std::string& pac_script,
32 mojo::InterfaceRequest<interfaces::ProxyResolver> req, 33 mojo::InterfaceRequest<interfaces::ProxyResolver> req,
33 interfaces::ProxyResolverFactoryRequestClientPtr client) { 34 interfaces::ProxyResolverFactoryRequestClientPtr client) {
34 factory_->CreateResolver(pac_script, std::move(req), std::move(client)); 35 factory_->CreateResolver(pac_script, std::move(req), std::move(client));
35 return nullptr; 36 return nullptr;
36 } 37 }
37 38
38 } // namespace net 39 } // namespace net
OLDNEW
« no previous file with comments | « net/log/file_net_log_observer_unittest.cc ('k') | net/proxy/mojo_proxy_resolver_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698