| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "chrome/browser/media/widevine_hardware_caps_win.h" |
| |
| #include "testing/gtest/include/gtest/gtest.h" |
| |
| TEST(WidevineHardwareCapsTest, GetWidevineHardwareCaps) { |
| base::flat_set<media::CdmProxy::Protocol> cdm_proxy_protocols = { |
| media::CdmProxy::Protocol::kIntel}; |
| base::flat_set<media::VideoCodec> video_codecs; |
| base::flat_set<media::EncryptionMode> encryption_schemes; |
| |
| // Not checking the results since it's hardware dependent. |
| GetWidevineHardwareCaps(cdm_proxy_protocols, &video_codecs, |
| &encryption_schemes); |
| } |