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

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

Issue 2391743005: Make the flash permission prompt work properly on file: URLs (Closed)
Patch Set: test prompt Created 4 years, 2 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_permission_context.h
diff --git a/chrome/browser/plugins/flash_permission_context.h b/chrome/browser/plugins/flash_permission_context.h
index 625d31de31a41a0ca37c45bd66da876c989b72f7..1705946cf81b06cefe568e298eec3212e1b47068 100644
--- a/chrome/browser/plugins/flash_permission_context.h
+++ b/chrome/browser/plugins/flash_permission_context.h
@@ -24,6 +24,9 @@ class FlashPermissionContext : public PermissionContextBase {
void UpdateTabContext(const PermissionRequestID& id,
const GURL& requesting_origin,
bool allowed) override;
+ void UpdateContentSetting(const GURL& requesting_origin,
+ const GURL& embedding_origin,
+ ContentSetting content_setting) override;
bool IsRestrictedToSecureOrigins() const override;
DISALLOW_COPY_AND_ASSIGN(FlashPermissionContext);
« no previous file with comments | « chrome/browser/plugins/flash_permission_browsertest.cc ('k') | chrome/browser/plugins/flash_permission_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698