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

Unified Diff: chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc

Issue 2655443003: Unify the "get" and "set" cookie access settings. (Closed)
Patch Set: fix android Created 3 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/renderer_host/pepper/pepper_flash_browser_host.cc
diff --git a/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc b/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc
index ef35bdaf4e6c5646a09b1904809a0e7a36d01e6a..3723a08d63ebaefb0a9329747e1dda46268f3ba2 100644
--- a/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc
+++ b/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc
@@ -159,7 +159,7 @@ void PepperFlashBrowserHost::GetLocalDataRestrictions(
PP_FlashLSORestrictions restrictions = PP_FLASHLSORESTRICTIONS_NONE;
if (cookie_settings_.get() && document_url.is_valid() &&
plugin_url.is_valid()) {
- if (!cookie_settings_->IsReadingCookieAllowed(document_url, plugin_url))
+ if (!cookie_settings_->IsCookieAccessAllowed(document_url, plugin_url))
restrictions = PP_FLASHLSORESTRICTIONS_BLOCK;
else if (cookie_settings_->IsCookieSessionOnly(plugin_url))
restrictions = PP_FLASHLSORESTRICTIONS_IN_MEMORY;

Powered by Google App Engine
This is Rietveld 408576698