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

Unified Diff: media/cdm/key_system_names.h

Issue 1921823003: media: Move key_system_names to media/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/blink/webcontentdecryptionmodulesession_impl.cc ('k') | media/cdm/key_system_names.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/key_system_names.h
diff --git a/media/cdm/key_system_names.h b/media/cdm/key_system_names.h
deleted file mode 100644
index 8b231718fffa89d8620f0751cc68783cd229ebac..0000000000000000000000000000000000000000
--- a/media/cdm/key_system_names.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef MEDIA_CDM_KEY_SYSTEM_NAMES_H_
-#define MEDIA_CDM_KEY_SYSTEM_NAMES_H_
-
-#include <string>
-
-#include "media/base/media_export.h"
-
-namespace media {
-
-// TODO(jrummell): Change other uses of Clear Key to use this common value.
-
-// The key system name for Clear Key.
-MEDIA_EXPORT extern const char kClearKey[];
-
-// The key system name for External Clear Key.
-MEDIA_EXPORT extern const char kExternalClearKey[];
-
-// Returns true if |key_system| is Clear Key, false otherwise.
-MEDIA_EXPORT bool IsClearKey(const std::string& key_system);
-
-// Returns true if |key_system| is (reverse) sub-domain of |base|.
-MEDIA_EXPORT bool IsChildKeySystemOf(const std::string& key_system,
- const std::string& base);
-
-// Returns true if |key_system| is External Clear Key, false otherwise.
-MEDIA_EXPORT bool IsExternalClearKey(const std::string& key_system);
-
-} // namespace media
-
-#endif // MEDIA_CDM_KEY_SYSTEM_NAMES_H_
« no previous file with comments | « media/blink/webcontentdecryptionmodulesession_impl.cc ('k') | media/cdm/key_system_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698