| 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_player_manager.h" | 8 #include "media/base/android/media_player_manager.h" |
| 9 #include "media/base/media_keys.h" | 9 #include "media/base/media_keys.h" |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 void MediaPlayerAndroid::SetCdm(MediaKeys* cdm) { | 34 void MediaPlayerAndroid::SetCdm(MediaKeys* cdm) { |
| 35 // Not all players support CDMs. Do nothing by default. | 35 // Not all players support CDMs. Do nothing by default. |
| 36 return; | 36 return; |
| 37 } | 37 } |
| 38 | 38 |
| 39 void MediaPlayerAndroid::OnKeyAdded() { | 39 void MediaPlayerAndroid::OnKeyAdded() { |
| 40 // Not all players care about the decryption key. Do nothing by default. | 40 // Not all players care about the decryption key. Do nothing by default. |
| 41 return; | 41 return; |
| 42 } | 42 } |
| 43 | 43 |
| 44 void MediaPlayerAndroid::SetFrameUrl(const GURL& source) { |
| 45 frame_url_ = source; |
| 46 } |
| 47 |
| 48 GURL MediaPlayerAndroid::GetFrameUrl() { |
| 49 return frame_url_; |
| 50 } |
| 51 |
| 44 } // namespace media | 52 } // namespace media |
| OLD | NEW |