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

Unified Diff: chrome/browser/media/protected_media_identifier_permission_context_factory.cc

Issue 863263007: media: Enable ProtectedMediaIdentifierPermissionContext on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 5 years, 11 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/protected_media_identifier_permission_context_factory.cc
diff --git a/chrome/browser/media/protected_media_identifier_permission_context_factory.cc b/chrome/browser/media/protected_media_identifier_permission_context_factory.cc
index 73e721e854fea57273a13d11dc933e573d260498..b6992826a3278dd16c031f464bb210c67f046a1b 100644
--- a/chrome/browser/media/protected_media_identifier_permission_context_factory.cc
+++ b/chrome/browser/media/protected_media_identifier_permission_context_factory.cc
@@ -47,10 +47,12 @@ ProtectedMediaIdentifierPermissionContextFactory::BuildServiceInstanceFor(
void
ProtectedMediaIdentifierPermissionContextFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
+#if defined(OS_ANDROID)
registry->RegisterBooleanPref(
prefs::kProtectedMediaIdentifierEnabled,
true,
user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+#endif
}
content::BrowserContext*

Powered by Google App Engine
This is Rietveld 408576698