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

Unified Diff: android_webview/browser/aw_content_browser_client.cc

Issue 881023002: media: Rename PERMISSION_PROTECTED_MEDIA to PERMISSION_PROTECTED_MEDIA_IDENTIFIER. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_content_browser_client.cc
diff --git a/android_webview/browser/aw_content_browser_client.cc b/android_webview/browser/aw_content_browser_client.cc
index 0d2d46f57214b39bff4b7fb88cce887c288cd885..c38ce6a08f60bbd9b51de638287a10a1e62651f9 100644
--- a/android_webview/browser/aw_content_browser_client.cc
+++ b/android_webview/browser/aw_content_browser_client.cc
@@ -399,7 +399,7 @@ void AwContentBrowserClient::RequestPermission(
}
delegate->RequestGeolocationPermission(origin, result_callback);
break;
- case content::PERMISSION_PROTECTED_MEDIA:
+ case content::PERMISSION_PROTECTED_MEDIA_IDENTIFIER:
if (!delegate) {
DVLOG(0) << "Dropping ProtectedMediaIdentifierPermission request";
result_callback.Run(false);
@@ -436,7 +436,7 @@ void AwContentBrowserClient::CancelPermissionRequest(
case content::PERMISSION_GEOLOCATION:
delegate->CancelGeolocationPermissionRequests(origin);
break;
- case content::PERMISSION_PROTECTED_MEDIA:
+ case content::PERMISSION_PROTECTED_MEDIA_IDENTIFIER:
delegate->CancelProtectedMediaIdentifierPermissionRequests(origin);
break;
case content::PERMISSION_MIDI_SYSEX:
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698