Index: chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc |
diff --git a/chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc b/chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc |
index 66c91ae67e09400e31130c0fb50059b3cad907e3..0c98b8162a95c9789d6798a3426a1b2206c1c22b 100644 |
--- a/chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc |
+++ b/chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc |
@@ -5,26 +5,11 @@ |
#include "chrome/browser/media/protected_media_identifier_infobar_delegate_android.h" |
#include "chrome/browser/android/android_theme_resources.h" |
-#include "chrome/browser/infobars/infobar_service.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/grit/generated_resources.h" |
-#include "components/infobars/core/infobar.h" |
#include "components/strings/grit/components_strings.h" |
#include "ui/base/l10n/l10n_util.h" |
-// static |
-infobars::InfoBar* ProtectedMediaIdentifierInfoBarDelegateAndroid::Create( |
- InfoBarService* infobar_service, |
- const GURL& requesting_frame, |
- bool user_gesture, |
- Profile* profile, |
- const PermissionSetCallback& callback) { |
- return infobar_service->AddInfoBar( |
- CreatePermissionInfoBar(std::unique_ptr<PermissionInfoBarDelegate>( |
- new ProtectedMediaIdentifierInfoBarDelegateAndroid( |
- requesting_frame, user_gesture, profile, callback)))); |
-} |
- |
ProtectedMediaIdentifierInfoBarDelegateAndroid:: |
ProtectedMediaIdentifierInfoBarDelegateAndroid( |
const GURL& requesting_frame, |