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

Unified Diff: net/url_request/url_request.cc

Issue 9700056: Remove experimental support for MAC cookies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused global Created 8 years, 9 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
« no previous file with comments | « net/url_request/url_request.h ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 63138aff129f94ce224e170ef315aa7df4709590..4c2e2c35385be5fd4baa4fe832b27a35bc6c1822 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -37,8 +37,6 @@ namespace net {
namespace {
-static bool g_mac_cookies_enabled = false;
-
// Max number of http redirects to follow. Same number as gecko.
const int kMaxRedirects = 20;
@@ -347,16 +345,6 @@ bool URLRequest::IsFileAccessAllowed() {
return URLRequestJobManager::GetInstance()->enable_file_access();
}
-// static
-void URLRequest::EnableMacCookies() {
- g_mac_cookies_enabled = true;
-}
-
-// static
-bool URLRequest::AreMacCookiesEnabled() {
- return g_mac_cookies_enabled;
-}
-
void URLRequest::set_first_party_for_cookies(
const GURL& first_party_for_cookies) {
first_party_for_cookies_ = first_party_for_cookies;
« no previous file with comments | « net/url_request/url_request.h ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698