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

Unified Diff: chrome/browser/media/pepper_cdm_test_helper.h

Issue 1993813002: Revert of media: Add helper function to register pepper CDMs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: chrome/browser/media/pepper_cdm_test_helper.h
diff --git a/chrome/browser/media/pepper_cdm_test_helper.h b/chrome/browser/media/pepper_cdm_test_helper.h
deleted file mode 100644
index cfff76f2b067070e022ec6ba6402240e8c98c98d..0000000000000000000000000000000000000000
--- a/chrome/browser/media/pepper_cdm_test_helper.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2016 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 CHROME_BROWSER_MEDIA_PEPPER_CDM_TEST_HELPER_H_
-#define CHROME_BROWSER_MEDIA_PEPPER_CDM_TEST_HELPER_H_
-
-#include <string>
-
-#include "base/files/file_path.h"
-
-namespace base {
-class CommandLine;
-}
-
-// Platform-specific filename relative to kClearKeyCdmBaseDirectory.
-extern const char kClearKeyCdmAdapterFileName[];
-
-// Pepper type for Clear Key CDM.
-extern const char kClearKeyCdmPepperMimeType[];
-
-// Builds the string to pass to kRegisterPepperPlugins for a single
-// CDM using the provided parameters and a dummy version.
-// Multiple results may be passed to kRegisterPepperPlugins, separated by ",".
-// The CDM adapter should be located in DIR_MODULE.
-base::FilePath::StringType BuildPepperCdmRegistration(
- const std::string& adapter_file_name,
- const std::string& mime_type,
- bool expect_adapter_exists = true);
-
-// Registers pepper CDM in |command_line|.
-void RegisterPepperCdm(base::CommandLine* command_line,
- const std::string& adapter_file_name,
- const std::string& mime_type,
- bool expect_adapter_exists = true);
-
-#endif // CHROME_BROWSER_MEDIA_PEPPER_CDM_TEST_HELPER_H_
« no previous file with comments | « chrome/browser/media/encrypted_media_supported_types_browsertest.cc ('k') | chrome/browser/media/pepper_cdm_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698