OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_bridge.h" | 5 #include "media/base/android/media_player_bridge.h" |
6 | 6 |
7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
8 #include "base/android/jni_string.h" | 8 #include "base/android/jni_string.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 } | 410 } |
411 | 411 |
412 bool MediaPlayerBridge::CanSeekBackward() { | 412 bool MediaPlayerBridge::CanSeekBackward() { |
413 return can_seek_backward_; | 413 return can_seek_backward_; |
414 } | 414 } |
415 | 415 |
416 bool MediaPlayerBridge::IsPlayerReady() { | 416 bool MediaPlayerBridge::IsPlayerReady() { |
417 return prepared_; | 417 return prepared_; |
418 } | 418 } |
419 | 419 |
| 420 GURL MediaPlayerBridge::GetUrl() { |
| 421 return url_; |
| 422 } |
| 423 |
| 424 GURL MediaPlayerBridge::GetFirstPartyForCookies() { |
| 425 return first_party_for_cookies_; |
| 426 } |
| 427 |
420 } // namespace media | 428 } // namespace media |
OLD | NEW |