OLD | NEW |
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 "chromecast/media/cdm/browser_cdm_cast.h" | 5 #include "chromecast/media/cdm/browser_cdm_cast.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
14 #include "chromecast/media/base/media_resource_tracker.h" | 14 #include "chromecast/media/base/media_resource_tracker.h" |
15 #include "media/base/cdm_key_information.h" | 15 #include "media/base/cdm_key_information.h" |
16 #include "media/base/cdm_promise.h" | 16 #include "media/base/cdm_promise.h" |
17 #include "media/cdm/player_tracker_impl.h" | 17 #include "media/cdm/player_tracker_impl.h" |
18 | 18 |
19 namespace chromecast { | 19 namespace chromecast { |
20 namespace media { | 20 namespace media { |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 base::Passed(BindPromiseToCurrentLoop(std::move(promise)))); | 243 base::Passed(BindPromiseToCurrentLoop(std::move(promise)))); |
244 } | 244 } |
245 | 245 |
246 // A default empty implementation for subclasses that don't need to provide | 246 // A default empty implementation for subclasses that don't need to provide |
247 // any key system specific initialization. | 247 // any key system specific initialization. |
248 void BrowserCdmCast::InitializeInternal() { | 248 void BrowserCdmCast::InitializeInternal() { |
249 } | 249 } |
250 | 250 |
251 } // namespace media | 251 } // namespace media |
252 } // namespace chromecast | 252 } // namespace chromecast |
OLD | NEW |