summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.h
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-23 18:11:10 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-23 18:11:10 +0000
commitcfd7332188b64787a9cb2b110957c0eb60b806a8 (patch)
treebd5072b446490dc3266dff44a627416f54404eb8 /net/url_request/url_request.h
parentd62c805ec92a9e00bfd97fc5a4d35103a8e89380 (diff)
downloadchromium_src-cfd7332188b64787a9cb2b110957c0eb60b806a8.zip
chromium_src-cfd7332188b64787a9cb2b110957c0eb60b806a8.tar.gz
chromium_src-cfd7332188b64787a9cb2b110957c0eb60b806a8.tar.bz2
Rename |policy_url| to |first_party_for_cookies|. This now matches the WebKit name for this piece of data.
R=jackson BUG=None TEST=No behavior change Review URL: http://codereview.chromium.org/115743 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16843 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r--net/url_request/url_request.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index b9863b1..bb4e18a 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -226,8 +226,10 @@ class URLRequest {
// The URL that should be consulted for the third-party cookie blocking
// policy.
- const GURL& policy_url() const { return policy_url_; }
- void set_policy_url(const GURL& policy_url);
+ const GURL& first_party_for_cookies() const {
+ return first_party_for_cookies_;
+ }
+ void set_first_party_for_cookies(const GURL& first_party_for_cookies);
// The request method, as an uppercase string. "GET" is the default value.
// The request method may only be changed before Start() is called and
@@ -505,7 +507,7 @@ class URLRequest {
scoped_refptr<net::UploadData> upload_;
GURL url_;
GURL original_url_;
- GURL policy_url_;
+ GURL first_party_for_cookies_;
std::string method_; // "GET", "POST", etc. Should be all uppercase.
std::string referrer_;
std::string extra_request_headers_;