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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 6995013: More progress towards removing content settings code from the content layer. We can't use Cookie... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix net_unittests Created 9 years, 7 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/chrome_content_browser_client.h
===================================================================
--- chrome/browser/chrome_content_browser_client.h (revision 84586)
+++ chrome/browser/chrome_content_browser_client.h (working copy)
@@ -27,7 +27,20 @@
int child_process_id);
virtual std::string GetApplicationLocale();
virtual bool AllowAppCache(const GURL& manifest_url,
- const content::ResourceContext* context);
+ const content::ResourceContext& context);
+ virtual bool AllowGetCookie(const GURL& url,
+ const GURL& first_party,
+ const net::CookieList& cookie_list,
+ const content::ResourceContext& context,
+ int render_process_id,
+ int render_view_id);
willchan no longer on Chromium 2011/05/10 18:36:56 Nit: I leave it up to you, but I think the recomme
jam 2011/05/10 19:27:22 I thought the point is to guard against the base c
willchan no longer on Chromium 2011/05/10 22:39:22 That's a perfectly valid opinion and I think it ma
+ virtual bool AllowSetCookie(const GURL& url,
+ const GURL& first_party,
+ const std::string& cookie_line,
+ net::CookieOptions* options,
+ const content::ResourceContext& context,
+ int render_process_id,
+ int render_view_id);
#if defined(OS_LINUX)
// Can return an optional fd for crash handling, otherwise returns -1.
virtual int GetCrashSignalFD(const std::string& process_type);
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | chrome/browser/chrome_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698