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

Unified Diff: content/public/browser/cdm_registry.h

Issue 2565853003: media: Rename CdmService to CdmRegistry (Closed)
Patch Set: add missing BUILD.gn entry Created 4 years 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
Index: content/public/browser/cdm_registry.h
diff --git a/content/public/browser/cdm_service.h b/content/public/browser/cdm_registry.h
similarity index 79%
rename from content/public/browser/cdm_service.h
rename to content/public/browser/cdm_registry.h
index 58d59e07032c4186ba6f246bb42caa5e0aa54c2e..242331ff4f2b8f9496c5d1c467816c7073db6d01 100644
--- a/content/public/browser/cdm_service.h
+++ b/content/public/browser/cdm_registry.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_PUBLIC_BROWSER_CDM_SERVICE_H_
-#define CONTENT_PUBLIC_BROWSER_CDM_SERVICE_H_
+#ifndef CONTENT_PUBLIC_BROWSER_CDM_REGISTRY_H_
+#define CONTENT_PUBLIC_BROWSER_CDM_REGISTRY_H_
#include <vector>
@@ -14,12 +14,12 @@ namespace content {
struct CdmInfo;
// Keeps track of the Content Decryption Modules that are available.
-class CONTENT_EXPORT CdmService {
+class CONTENT_EXPORT CdmRegistry {
public:
- // Returns the CdmService singleton.
- static CdmService* GetInstance();
+ // Returns the CdmRegistry singleton.
+ static CdmRegistry* GetInstance();
- virtual ~CdmService() {}
+ virtual ~CdmRegistry() {}
// Must be called on the instance to finish initialization.
virtual void Init() = 0;
@@ -39,4 +39,4 @@ class CONTENT_EXPORT CdmService {
} // namespace content
-#endif // CONTENT_PUBLIC_BROWSER_CDM_SERVICE_H_
+#endif // CONTENT_PUBLIC_BROWSER_CDM_REGISTRY_H_

Powered by Google App Engine
This is Rietveld 408576698