diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 19:31:40 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 19:31:40 +0000 |
commit | 79e6a403ab654bcacc8b8cfff74514e06417f4ad (patch) | |
tree | 65ce1c86d64eadfee67b272651627755cf8cd2f6 /webkit/glue/webplugin_impl.cc | |
parent | 5ead1637bd35e7c242f21ea212e3b494ad0facdc (diff) | |
download | chromium_src-79e6a403ab654bcacc8b8cfff74514e06417f4ad.zip chromium_src-79e6a403ab654bcacc8b8cfff74514e06417f4ad.tar.gz chromium_src-79e6a403ab654bcacc8b8cfff74514e06417f4ad.tar.bz2 |
Rename policy_url to first_party_for_cookies in cookie-related code.
R=abarth
BUG=25133
TEST=none. A cosmetic change.
Review URL: http://codereview.chromium.org/403011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32373 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin_impl.cc')
-rw-r--r-- | webkit/glue/webplugin_impl.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/webkit/glue/webplugin_impl.cc b/webkit/glue/webplugin_impl.cc index 37f34c2..3b327b3 100644 --- a/webkit/glue/webplugin_impl.cc +++ b/webkit/glue/webplugin_impl.cc @@ -557,14 +557,16 @@ NPObject* WebPluginImpl::GetPluginElement() { } void WebPluginImpl::SetCookie(const GURL& url, - const GURL& policy_url, + const GURL& first_party_for_cookies, const std::string& cookie) { WebKit::webKitClient()->setCookies( - url, policy_url, WebString::fromUTF8(cookie)); + url, first_party_for_cookies, WebString::fromUTF8(cookie)); } -std::string WebPluginImpl::GetCookies(const GURL& url, const GURL& policy_url) { - return UTF16ToUTF8(WebKit::webKitClient()->cookies(url, policy_url)); +std::string WebPluginImpl::GetCookies(const GURL& url, + const GURL& first_party_for_cookies) { + return UTF16ToUTF8(WebKit::webKitClient()->cookies(url, + first_party_for_cookies)); } void WebPluginImpl::ShowModalHTMLDialog(const GURL& url, int width, int height, |