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

Unified Diff: chrome/browser/plugins/flash_download_interception.h

Issue 2379833002: Hookup the window.open flash download interception to the permission prompt (Closed)
Patch Set: Hookup the window.open flash download interception to the permission prompt Created 4 years, 3 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/plugins/flash_download_interception.h
diff --git a/chrome/browser/plugins/flash_download_interception.h b/chrome/browser/plugins/flash_download_interception.h
index 3b5b8e1849a044a70d2ea5aea20f3fe689d0c7b9..7e554dd8aed8c407f6c3ad5fd5954c06f19ffdc3 100644
--- a/chrome/browser/plugins/flash_download_interception.h
+++ b/chrome/browser/plugins/flash_download_interception.h
@@ -12,6 +12,7 @@
namespace content {
class NavigationHandle;
class NavigationThrottle;
+class WebContents;
}
class HostContentSettingsMap;
@@ -22,6 +23,7 @@ class GURL;
// Chrome already ships with it. Note that this is an UI thread class.
class FlashDownloadInterception {
public:
+ static void InterceptFlashDownloadNavigation(content::WebContents* source);
static bool ShouldStopFlashDownloadAction(
HostContentSettingsMap* host_content_settings_map,
const GURL& source_url,
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/plugins/flash_download_interception.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698