media_drm_storage.cc 795 B

1234567891011121314151617181920212223242526
  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
  3. // found in the LICENSE file.
  4. #include "media/base/media_drm_storage.h"
  5. #include <utility>
  6. namespace media {
  7. MediaDrmStorage::SessionData::SessionData(std::vector<uint8_t> key_set_id,
  8. std::string mime_type,
  9. MediaDrmKeyType key_type)
  10. : key_set_id(std::move(key_set_id)),
  11. mime_type(std::move(mime_type)),
  12. key_type(key_type) {}
  13. MediaDrmStorage::SessionData::SessionData(const SessionData& other) = default;
  14. MediaDrmStorage::SessionData::~SessionData() {}
  15. MediaDrmStorage::MediaDrmStorage() {}
  16. MediaDrmStorage::~MediaDrmStorage() {}
  17. } // namespace media