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

Side by Side Diff: content/browser/loader/url_loader_factory_impl.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/browser/loader/url_loader_factory_impl.h" 5 #include "content/browser/loader/url_loader_factory_impl.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "content/browser/loader/resource_dispatcher_host_impl.h" 8 #include "content/browser/loader/resource_dispatcher_host_impl.h"
8 #include "content/browser/loader/resource_requester_info.h" 9 #include "content/browser/loader/resource_requester_info.h"
9 #include "content/common/resource_request.h" 10 #include "content/common/resource_request.h"
10 #include "content/common/url_loader.mojom.h" 11 #include "content/common/url_loader.mojom.h"
11 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
12 #include "mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
13 14
14 namespace content { 15 namespace content {
15 16
16 namespace { 17 namespace {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 98
98 void URLLoaderFactoryImpl::Create( 99 void URLLoaderFactoryImpl::Create(
99 scoped_refptr<ResourceRequesterInfo> requester_info, 100 scoped_refptr<ResourceRequesterInfo> requester_info,
100 mojo::InterfaceRequest<mojom::URLLoaderFactory> request) { 101 mojo::InterfaceRequest<mojom::URLLoaderFactory> request) {
101 mojo::MakeStrongBinding( 102 mojo::MakeStrongBinding(
102 base::WrapUnique(new URLLoaderFactoryImpl(std::move(requester_info))), 103 base::WrapUnique(new URLLoaderFactoryImpl(std::move(requester_info))),
103 std::move(request)); 104 std::move(request));
104 } 105 }
105 106
106 } // namespace content 107 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/downloaded_temp_file_impl.cc ('k') | content/browser/media/capture/image_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698