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

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

Issue 2805803002: [Clank] Implement MediaDrmStorageBridge with MediaDrmStorage (Closed)
Patch Set: Rebase Created 3 years, 8 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_storage.h ('k') | media/base/android/media_drm_storage_bridge.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_drm_storage.h" 5 #include "media/base/android/media_drm_storage.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 namespace media { 9 namespace media {
10 10
11 MediaDrmStorage::SessionData::SessionData(std::vector<uint8_t> key_set_id, 11 MediaDrmStorage::SessionData::SessionData(std::vector<uint8_t> key_set_id,
12 std::string mime_type) 12 std::string mime_type)
13 : key_set_id(std::move(key_set_id)), mime_type(std::move(mime_type)) {} 13 : key_set_id(std::move(key_set_id)), mime_type(std::move(mime_type)) {}
14 14
15 MediaDrmStorage::SessionData::SessionData(const SessionData& other) = default;
16
15 MediaDrmStorage::SessionData::~SessionData() {} 17 MediaDrmStorage::SessionData::~SessionData() {}
16 18
17 MediaDrmStorage::MediaDrmStorage() {} 19 MediaDrmStorage::MediaDrmStorage() {}
18 20
19 MediaDrmStorage::~MediaDrmStorage() {} 21 MediaDrmStorage::~MediaDrmStorage() {}
20 22
21 } // namespace media 23 } // namespace media
OLDNEW
« no previous file with comments | « media/base/android/media_drm_storage.h ('k') | media/base/android/media_drm_storage_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698