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

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

Issue 962793005: Adds MediaClientAndroid to support embedder/MediaDrmBridge interaction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename createSession to createSessionFromNative to avoid bug in FindBugs Created 5 years, 7 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
« no previous file with comments | « media/base/android/media_drm_bridge_delegate.h ('k') | media/media.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "media/base/android/media_drm_bridge_delegate.h"
6
7 #include "base/logging.h"
8
9 namespace media {
10
11 MediaDrmBridgeDelegate::MediaDrmBridgeDelegate() {
12 }
13
14 MediaDrmBridgeDelegate::~MediaDrmBridgeDelegate() {
15 }
16
17 bool MediaDrmBridgeDelegate::OnCreateSession(
18 const EmeInitDataType init_data_type,
19 const std::vector<uint8_t>& init_data,
20 std::vector<uint8_t>* init_data_out,
21 std::vector<std::string>* optional_parameters_out) {
22 DCHECK(init_data_out->empty());
23 DCHECK(optional_parameters_out->empty());
24 return true;
25 }
26
27 } // namespace media
OLDNEW
« no previous file with comments | « media/base/android/media_drm_bridge_delegate.h ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698