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

Side by Side Diff: components/dom_distiller/content/browser/distiller_javascript_service_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 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 "components/dom_distiller/content/browser/distiller_javascript_service_ impl.h" 5 #include "components/dom_distiller/content/browser/distiller_javascript_service_ impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h"
9 #include "components/dom_distiller/content/browser/distiller_ui_handle.h" 10 #include "components/dom_distiller/content/browser/distiller_ui_handle.h"
10 #include "components/dom_distiller/core/feedback_reporter.h" 11 #include "components/dom_distiller/core/feedback_reporter.h"
11 #include "content/public/browser/user_metrics.h" 12 #include "content/public/browser/user_metrics.h"
12 #include "mojo/public/cpp/bindings/string.h" 13 #include "mojo/public/cpp/bindings/string.h"
13 #include "mojo/public/cpp/bindings/strong_binding.h" 14 #include "mojo/public/cpp/bindings/strong_binding.h"
14 15
15 namespace dom_distiller { 16 namespace dom_distiller {
16 17
17 DistillerJavaScriptServiceImpl::DistillerJavaScriptServiceImpl( 18 DistillerJavaScriptServiceImpl::DistillerJavaScriptServiceImpl(
18 content::RenderFrameHost* render_frame_host, 19 content::RenderFrameHost* render_frame_host,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void CreateDistillerJavaScriptService( 62 void CreateDistillerJavaScriptService(
62 content::RenderFrameHost* render_frame_host, 63 content::RenderFrameHost* render_frame_host,
63 DistillerUIHandle* distiller_ui_handle, 64 DistillerUIHandle* distiller_ui_handle,
64 mojo::InterfaceRequest<mojom::DistillerJavaScriptService> request) { 65 mojo::InterfaceRequest<mojom::DistillerJavaScriptService> request) {
65 mojo::MakeStrongBinding(base::MakeUnique<DistillerJavaScriptServiceImpl>( 66 mojo::MakeStrongBinding(base::MakeUnique<DistillerJavaScriptServiceImpl>(
66 render_frame_host, distiller_ui_handle), 67 render_frame_host, distiller_ui_handle),
67 std::move(request)); 68 std::move(request));
68 } 69 }
69 70
70 } // namespace dom_distiller 71 } // namespace dom_distiller
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698