Index: chrome/browser/plugins/flash_download_interception.cc |
diff --git a/chrome/browser/plugins/flash_download_interception.cc b/chrome/browser/plugins/flash_download_interception.cc |
index 032830b00999ce6cfd7fb95810afb94b6675123b..6951f74a160d199e009d7115cf43d1fe8b101a33 100644 |
--- a/chrome/browser/plugins/flash_download_interception.cc |
+++ b/chrome/browser/plugins/flash_download_interception.cc |
@@ -34,21 +34,21 @@ void DoNothing(blink::mojom::PermissionStatus result) {} |
bool InterceptNavigation( |
content::WebContents* source, |
const navigation_interception::NavigationParams& params) { |
- FlashDownloadInterception::InterceptFlashDownloadNavigation(source); |
+ FlashDownloadInterception::ShowRunFlashPrompt(source); |
return true; |
} |
} // namespace |
// static |
-void FlashDownloadInterception::InterceptFlashDownloadNavigation( |
- content::WebContents* source) { |
+void FlashDownloadInterception::ShowRunFlashPrompt( |
+ content::WebContents* web_contents) { |
DCHECK_CURRENTLY_ON(BrowserThread::UI); |
PermissionManager* manager = PermissionManager::Get( |
- Profile::FromBrowserContext(source->GetBrowserContext())); |
+ Profile::FromBrowserContext(web_contents->GetBrowserContext())); |
manager->RequestPermission( |
- content::PermissionType::FLASH, source->GetMainFrame(), |
- source->GetLastCommittedURL(), true, base::Bind(&DoNothing)); |
+ content::PermissionType::FLASH, web_contents->GetMainFrame(), |
+ web_contents->GetLastCommittedURL(), true, base::Bind(&DoNothing)); |
} |
// static |