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

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: make FakeProfile class happy Created 6 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/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 8ad8d732ddd3dca3d58f2450b2d4e3ede1125b32..7a539e16a043007daea01f691fb707144c02d25f 100644
--- a/chrome/browser/android/chrome_web_contents_delegate_android.cc
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.cc
@@ -325,20 +325,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