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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 871663003: media: Add MediaPermission interface and MediaPermissionDispatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove test code. 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/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index a45399ec4245e8c283c4919377bf3bece0f974c0..b3bb4f19bf2b428982c97db64326daeeef770553 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1962,7 +1962,8 @@ content::PermissionStatus ChromeContentBrowserClient::GetPermissionStatus(
context = GeolocationPermissionContextFactory::GetForProfile(profile);
break;
case content::PERMISSION_PROTECTED_MEDIA:
- NOTIMPLEMENTED();
+ context = ProtectedMediaIdentifierPermissionContextFactory::GetForProfile(
+ profile);
break;
case content::PERMISSION_PUSH_MESSAGING:
context = gcm::PushMessagingPermissionContextFactory::GetForProfile(

Powered by Google App Engine
This is Rietveld 408576698