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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 11705003: Change PepperFlashBrowserHost to use CookieSettings to get the LSO settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index b0c01e9dafca12b2352a2429c029b36373a879de..55de48b7332e19a0744f99bbc9214f770a8894d8 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -1102,24 +1102,6 @@ bool ChromeContentBrowserClient::AllowSetCookie(
return allow;
}
-bool ChromeContentBrowserClient::AllowPluginLocalDataAccess(
- const GURL& document_url,
- const GURL& plugin_url,
- content::ResourceContext* context) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- ProfileIOData* io_data = ProfileIOData::FromResourceContext(context);
- return io_data->GetCookieSettings()->IsReadingCookieAllowed(document_url,
- plugin_url);
-}
-
-bool ChromeContentBrowserClient::AllowPluginLocalDataSessionOnly(
- const GURL& url,
- content::ResourceContext* context) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- ProfileIOData* io_data = ProfileIOData::FromResourceContext(context);
- return io_data->GetCookieSettings()->IsCookieSessionOnly(url);
-}
-
bool ChromeContentBrowserClient::AllowSaveLocalState(
content::ResourceContext* context) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698