Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / android_webview / renderer / aw_key_systems.cc
blob29e50ce7ab534eba3da1919965aebf2625998535
1 // Copyright 2013 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 "android_webview/renderer/aw_key_systems.h"
6 #include "components/cdm/renderer/android_key_systems.h"
8 namespace android_webview {
10 void AwAddKeySystems(
11 std::vector<media::KeySystemInfo>* key_systems_info) {
12 // TODO(sandersd): Non-compositing support depends on the
13 // use_video_overlay_for_embedded_encrypted_video pref, which may differ per
14 // WebContents. For now, err on the side of registering support.
15 // http://crbug.com/467779
16 cdm::AddAndroidWidevine(key_systems_info, true);
17 cdm::AddAndroidPlatformKeySystems(key_systems_info);
20 } // namespace android_webview