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 /chrome/plugin | |
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 'chrome/plugin')
-rw-r--r-- | chrome/plugin/webplugin_proxy.cc | 10 | ||||
-rw-r--r-- | chrome/plugin/webplugin_proxy.h | 4 |
2 files changed, 8 insertions, 6 deletions
diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc index 5033d8e..b6a6973 100644 --- a/chrome/plugin/webplugin_proxy.cc +++ b/chrome/plugin/webplugin_proxy.cc @@ -182,15 +182,17 @@ NPObject* WebPluginProxy::GetPluginElement() { } void WebPluginProxy::SetCookie(const GURL& url, - const GURL& policy_url, + const GURL& first_party_for_cookies, const std::string& cookie) { - Send(new PluginHostMsg_SetCookie(route_id_, url, policy_url, cookie)); + Send(new PluginHostMsg_SetCookie(route_id_, url, + first_party_for_cookies, cookie)); } std::string WebPluginProxy::GetCookies(const GURL& url, - const GURL& policy_url) { + const GURL& first_party_for_cookies) { std::string cookies; - Send(new PluginHostMsg_GetCookies(route_id_, url, policy_url, &cookies)); + Send(new PluginHostMsg_GetCookies(route_id_, url, + first_party_for_cookies, &cookies)); return cookies; } diff --git a/chrome/plugin/webplugin_proxy.h b/chrome/plugin/webplugin_proxy.h index fbf88f6..7b283f6 100644 --- a/chrome/plugin/webplugin_proxy.h +++ b/chrome/plugin/webplugin_proxy.h @@ -53,9 +53,9 @@ class WebPluginProxy : public webkit_glue::WebPlugin { NPObject* GetWindowScriptNPObject(); NPObject* GetPluginElement(); void SetCookie(const GURL& url, - const GURL& policy_url, + const GURL& first_party_for_cookies, const std::string& cookie); - std::string GetCookies(const GURL& url, const GURL& policy_url); + std::string GetCookies(const GURL& url, const GURL& first_party_for_cookies); void ShowModalHTMLDialog(const GURL& url, int width, int height, const std::string& json_arguments, |