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.
5 #include "media/base/android/media_drm_bridge_delegate.h"
7 #include "base/logging.h"
11 MediaDrmBridgeDelegate::MediaDrmBridgeDelegate() {
14 MediaDrmBridgeDelegate::~MediaDrmBridgeDelegate() {
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());