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

Unified Diff: chrome/browser/android/chrome_web_contents_delegate_android.cc

Issue 107413006: Dismiss EME infobar when WebMediaPlayer is destroyed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: #if defined(OS_ANDROID) Created 6 years, 12 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/android/chrome_web_contents_delegate_android.cc
diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.cc b/chrome/browser/android/chrome_web_contents_delegate_android.cc
index 3db2bfc58744d5ea693fd69019c2c23e5be9e888..0d338deb7cd208013ee1fea78442b43b1f16023d 100644
--- a/chrome/browser/android/chrome_web_contents_delegate_android.cc
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.cc
@@ -318,20 +318,5 @@ void ChromeWebContentsDelegateAndroid::AddNewContents(
delete new_contents;
}
-void
-ChromeWebContentsDelegateAndroid::RequestProtectedMediaIdentifierPermission(
- const WebContents* web_contents,
- const GURL& frame_url,
- const base::Callback<void(bool)>& callback) {
- Profile* profile =
- Profile::FromBrowserContext(web_contents->GetBrowserContext());
- ProtectedMediaIdentifierPermissionContextFactory::GetForProfile(profile)->
- RequestProtectedMediaIdentifierPermission(
- web_contents->GetRenderProcessHost()->GetID(),
- web_contents->GetRenderViewHost()->GetRoutingID(),
- frame_url,
- callback);
-}
-
} // namespace android
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698