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

Unified Diff: chrome/common/media/cdm_host_file_path.cc

Issue 2755763002: media: Add build flag for CDM host verification (Closed)
Patch Set: fix cdm_host_file_path.cc Created 3 years, 9 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 | « chrome/common/chrome_content_client.cc ('k') | content/app/content_main_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/media/cdm_host_file_path.cc
diff --git a/chrome/common/media/cdm_host_file_path.cc b/chrome/common/media/cdm_host_file_path.cc
index ea1974fdcfa18fe032503361e4ce81e05d643e40..5536ab7401e02417aae2cb50dba0c0aaaac103c1 100644
--- a/chrome/common/media/cdm_host_file_path.cc
+++ b/chrome/common/media/cdm_host_file_path.cc
@@ -20,6 +20,8 @@
namespace chrome {
+#if defined(GOOGLE_CHROME_BUILD)
+
namespace {
using content::CdmHostFilePath;
@@ -108,4 +110,14 @@ void AddCdmHostFilePaths(
#endif // defined(OS_WIN)
}
+#else // defined(GOOGLE_CHROME_BUILD)
+
+void AddCdmHostFilePaths(
+ std::vector<content::CdmHostFilePath>* cdm_host_file_paths) {
+ NOTIMPLEMENTED() << "CDM host file paths need to be provided for the CDM to "
+ "verify the host.";
+}
+
+#endif // defined(GOOGLE_CHROME_BUILD)
+
} // namespace chrome
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | content/app/content_main_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698