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

Side by Side Diff: media/remoting/remoting_cdm_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 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 "media/remoting/remoting_cdm_factory.h" 5 #include "media/remoting/remoting_cdm_factory.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h"
8 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
9 #include "media/base/cdm_config.h" 10 #include "media/base/cdm_config.h"
10 #include "media/remoting/remoting_cdm.h" 11 #include "media/remoting/remoting_cdm.h"
11 12
12 namespace media { 13 namespace media {
13 14
14 RemotingCdmFactory::RemotingCdmFactory( 15 RemotingCdmFactory::RemotingCdmFactory(
15 std::unique_ptr<CdmFactory> default_cdm_factory, 16 std::unique_ptr<CdmFactory> default_cdm_factory,
16 mojom::RemoterFactory* remoter_factory, 17 mojom::RemoterFactory* remoter_factory,
17 std::unique_ptr<RemotingSinkObserver> sink_observer) 18 std::unique_ptr<RemotingSinkObserver> sink_observer)
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } else { 94 } else {
94 VLOG(1) << "Create default CDM."; 95 VLOG(1) << "Create default CDM.";
95 default_cdm_factory_->Create(key_system, security_origin, cdm_config, 96 default_cdm_factory_->Create(key_system, security_origin, cdm_config,
96 session_message_cb, session_closed_cb, 97 session_message_cb, session_closed_cb,
97 session_keys_change_cb, 98 session_keys_change_cb,
98 session_expiration_update_cb, cdm_created_cb); 99 session_expiration_update_cb, cdm_created_cb);
99 } 100 }
100 } 101 }
101 102
102 } // namespace media 103 } // namespace media
OLDNEW
« no previous file with comments | « media/remoting/remote_renderer_impl_unittest.cc ('k') | media/remoting/remoting_renderer_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698