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

Side by Side Diff: media/base/android/media_player_bridge.cc

Issue 15876006: Allow some Android media player implementation to be overridden by embedders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed indent Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« media/base/android/media_player_bridge.h ('K') | « media/base/android/media_player_bridge.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698