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

Unified Diff: content/browser/content_browser_client.cc

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: content/browser/content_browser_client.cc
===================================================================
--- content/browser/content_browser_client.cc (revision 84586)
+++ content/browser/content_browser_client.cc (working copy)
@@ -53,10 +53,31 @@
}
bool ContentBrowserClient::AllowAppCache(
- const GURL& manifest_url, const content::ResourceContext* context) {
+ const GURL& manifest_url, const content::ResourceContext& context) {
return true;
}
+bool ContentBrowserClient::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) {
+ return true;
+}
+
+bool ContentBrowserClient::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) {
+ return true;
+}
+
#if defined(OS_LINUX)
int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) {
return -1;

Powered by Google App Engine
This is Rietveld 408576698