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

Side by Side Diff: media/mojo/services/media_service.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 "media/mojo/services/media_service.h" 5 #include "media/mojo/services/media_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h"
9 #include "media/base/media_log.h" 10 #include "media/base/media_log.h"
10 #include "media/mojo/services/interface_factory_impl.h" 11 #include "media/mojo/services/interface_factory_impl.h"
11 #include "media/mojo/services/mojo_media_client.h" 12 #include "media/mojo/services/mojo_media_client.h"
12 #include "mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
13 #include "services/service_manager/public/cpp/connection.h" 14 #include "services/service_manager/public/cpp/connection.h"
14 #include "services/service_manager/public/cpp/connector.h" 15 #include "services/service_manager/public/cpp/connector.h"
15 #include "services/service_manager/public/cpp/interface_registry.h" 16 #include "services/service_manager/public/cpp/interface_registry.h"
16 17
17 namespace media { 18 namespace media {
18 19
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 return; 57 return;
57 58
58 mojo::MakeStrongBinding( 59 mojo::MakeStrongBinding(
59 base::MakeUnique<InterfaceFactoryImpl>( 60 base::MakeUnique<InterfaceFactoryImpl>(
60 std::move(host_interfaces), media_log_, ref_factory_->CreateRef(), 61 std::move(host_interfaces), media_log_, ref_factory_->CreateRef(),
61 mojo_media_client_.get()), 62 mojo_media_client_.get()),
62 std::move(request)); 63 std::move(request));
63 } 64 }
64 65
65 } // namespace media 66 } // namespace media
OLDNEW
« no previous file with comments | « media/mojo/services/interface_factory_impl.cc ('k') | media/mojo/services/media_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698