summaryrefslogtreecommitdiffstats
path: root/chrome/common/resource_dispatcher.cc
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 /chrome/common/resource_dispatcher.cc
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 'chrome/common/resource_dispatcher.cc')
-rw-r--r--chrome/common/resource_dispatcher.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/common/resource_dispatcher.cc b/chrome/common/resource_dispatcher.cc
index e879c36..727244f 100644
--- a/chrome/common/resource_dispatcher.cc
+++ b/chrome/common/resource_dispatcher.cc
@@ -46,7 +46,7 @@ class IPCResourceLoaderBridge : public ResourceLoaderBridge {
IPCResourceLoaderBridge(ResourceDispatcher* dispatcher,
const std::string& method,
const GURL& url,
- const GURL& policy_url,
+ const GURL& first_party_for_cookies,
const GURL& referrer,
const std::string& frame_origin,
const std::string& main_frame_origin,
@@ -100,7 +100,7 @@ IPCResourceLoaderBridge::IPCResourceLoaderBridge(
ResourceDispatcher* dispatcher,
const std::string& method,
const GURL& url,
- const GURL& policy_url,
+ const GURL& first_party_for_cookies,
const GURL& referrer,
const std::string& frame_origin,
const std::string& main_frame_origin,
@@ -118,7 +118,7 @@ IPCResourceLoaderBridge::IPCResourceLoaderBridge(
DCHECK(dispatcher_) << "no resource dispatcher";
request_.method = method;
request_.url = url;
- request_.policy_url = policy_url;
+ request_.first_party_for_cookies = first_party_for_cookies;
request_.referrer = referrer;
request_.frame_origin = frame_origin;
request_.main_frame_origin = main_frame_origin;
@@ -534,7 +534,7 @@ void ResourceDispatcher::FlushDeferredMessages(int request_id) {
webkit_glue::ResourceLoaderBridge* ResourceDispatcher::CreateBridge(
const std::string& method,
const GURL& url,
- const GURL& policy_url,
+ const GURL& first_party_for_cookies,
const GURL& referrer,
const std::string& frame_origin,
const std::string& main_frame_origin,
@@ -545,7 +545,8 @@ webkit_glue::ResourceLoaderBridge* ResourceDispatcher::CreateBridge(
uint32 request_context,
int app_cache_context_id,
int route_id) {
- return new webkit_glue::IPCResourceLoaderBridge(this, method, url, policy_url,
+ return new webkit_glue::IPCResourceLoaderBridge(this, method, url,
+ first_party_for_cookies,
referrer, frame_origin,
main_frame_origin, headers,
flags, origin_pid,