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

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

Issue 302453012: Support casting for embedded YT videos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comments Created 6 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
OLDNEW
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
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
OLDNEW
« media/base/android/media_player_android.h ('K') | « media/base/android/media_player_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698