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

Unified Diff: content/public/renderer/key_system_info.cc

Issue 23484019: Refactor KeySystems code to call a function to populate the info. (relanding r221932) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build error (cannot |= an enum) Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/renderer/key_system_info.h ('k') | content/renderer/media/crypto/key_systems.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/key_system_info.cc
diff --git a/content/renderer/media/video_frame_provider.cc b/content/public/renderer/key_system_info.cc
similarity index 50%
copy from content/renderer/media/video_frame_provider.cc
copy to content/public/renderer/key_system_info.cc
index 48f50e06bd2b4595c024366a5120758008fdf65a..6a64fdbac0049ea49227ab981400a1d28aea8aad 100644
--- a/content/renderer/media/video_frame_provider.cc
+++ b/content/public/renderer/key_system_info.cc
@@ -2,12 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/renderer/media/video_frame_provider.h"
+#include "content/public/renderer/key_system_info.h"
namespace content {
-VideoFrameProvider::VideoFrameProvider() {}
+KeySystemInfo::KeySystemInfo(const std::string& key_system)
+ : key_system(key_system),
+ use_aes_decryptor(false) {
+}
-VideoFrameProvider::~VideoFrameProvider() {}
+KeySystemInfo::~KeySystemInfo() {
+}
} // namespace content
« no previous file with comments | « content/public/renderer/key_system_info.h ('k') | content/renderer/media/crypto/key_systems.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698