OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/base/android/media_player_android.h" | 5 #include "media/base/android/media_player_android.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "media/base/android/media_drm_bridge.h" | 8 #include "media/base/android/media_drm_bridge.h" |
9 #include "media/base/android/media_player_manager.h" | 9 #include "media/base/android/media_player_manager.h" |
10 | 10 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 GURL MediaPlayerAndroid::GetFirstPartyForCookies() { | 86 GURL MediaPlayerAndroid::GetFirstPartyForCookies() { |
87 return GURL(); | 87 return GURL(); |
88 } | 88 } |
89 | 89 |
90 void MediaPlayerAndroid::SetDrmBridge(MediaDrmBridge* drm_bridge) { | 90 void MediaPlayerAndroid::SetDrmBridge(MediaDrmBridge* drm_bridge) { |
91 // Not all players support DrmBridge. Do nothing by default. | 91 // Not all players support DrmBridge. Do nothing by default. |
92 return; | 92 return; |
93 } | 93 } |
94 | 94 |
| 95 void MediaPlayerAndroid::OnKeyAdded() { |
| 96 // Not all players care about the decryption key. Do nothing by default. |
| 97 return; |
| 98 } |
| 99 |
95 } // namespace media | 100 } // namespace media |
OLD | NEW |