diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-23 18:11:10 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-23 18:11:10 +0000 |
commit | cfd7332188b64787a9cb2b110957c0eb60b806a8 (patch) | |
tree | bd5072b446490dc3266dff44a627416f54404eb8 /chrome/renderer/renderer_webkitclient_impl.cc | |
parent | d62c805ec92a9e00bfd97fc5a4d35103a8e89380 (diff) | |
download | chromium_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/renderer/renderer_webkitclient_impl.cc')
-rw-r--r-- | chrome/renderer/renderer_webkitclient_impl.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/renderer/renderer_webkitclient_impl.cc b/chrome/renderer/renderer_webkitclient_impl.cc index 5e7d0bb..408ddef 100644 --- a/chrome/renderer/renderer_webkitclient_impl.cc +++ b/chrome/renderer/renderer_webkitclient_impl.cc @@ -48,19 +48,20 @@ bool RendererWebKitClientImpl::isLinkVisited(unsigned long long link_hash) { return RenderThread::current()->visited_link_slave()->IsVisited(link_hash); } -void RendererWebKitClientImpl::setCookies( - const WebURL& url, const WebURL& policy_url, const WebString& value) { +void RendererWebKitClientImpl::setCookies(const WebURL& url, + const WebURL& first_party_for_cookies, + const WebString& value) { std::string value_utf8; UTF16ToUTF8(value.data(), value.length(), &value_utf8); RenderThread::current()->Send( - new ViewHostMsg_SetCookie(url, policy_url, value_utf8)); + new ViewHostMsg_SetCookie(url, first_party_for_cookies, value_utf8)); } WebString RendererWebKitClientImpl::cookies( - const WebURL& url, const WebURL& policy_url) { + const WebURL& url, const WebURL& first_party_for_cookies) { std::string value_utf8; RenderThread::current()->Send( - new ViewHostMsg_GetCookies(url, policy_url, &value_utf8)); + new ViewHostMsg_GetCookies(url, first_party_for_cookies, &value_utf8)); return WebString::fromUTF8(value_utf8); } |