summaryrefslogtreecommitdiffstats
path: root/android_webview/native/aw_contents.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-16 15:03:30 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-16 15:03:30 +0000
commitd871235c478bdb341fa74b20066b870487db26a0 (patch)
treea90bcf16bfe82efd82ecfb7fc7c0c00a82f19b55 /android_webview/native/aw_contents.cc
parent32c5eaa4dd3a02b2938124de6019fd9b3c98d8a5 (diff)
downloadchromium_src-d871235c478bdb341fa74b20066b870487db26a0.zip
chromium_src-d871235c478bdb341fa74b20066b870487db26a0.tar.gz
chromium_src-d871235c478bdb341fa74b20066b870487db26a0.tar.bz2
Convert protected media identifier permission requests to follow the same content api convention as midi/geolocation/notifications.
R=mkosiba@chromium.org Review URL: https://codereview.chromium.org/337913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277438 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/native/aw_contents.cc')
-rw-r--r--android_webview/native/aw_contents.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index b6ef6d8..a9106d6 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -602,8 +602,7 @@ void AwContents::PreauthorizePermission(
void AwContents::RequestProtectedMediaIdentifierPermission(
const GURL& origin,
- const content::BrowserContext::
- ProtectedMediaIdentifierPermissionCallback& callback) {
+ const base::Callback<void(bool)>& callback) {
permission_request_handler_->SendRequest(
scoped_ptr<AwPermissionRequestDelegate>(
new ProtectedMediaIdPermissionRequest(origin, callback)));