diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 07:23:43 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-05 07:23:43 +0000 |
commit | 4fcbbc7fd228382b4154ad8ad7b973741e68a058 (patch) | |
tree | a6478c7a305d36946cfbec255ea7f1d59ef73eee /webkit/glue/chromium_bridge_impl.cc | |
parent | 703a31308be801fa9d7206bd0383d04f22eab2a1 (diff) | |
download | chromium_src-4fcbbc7fd228382b4154ad8ad7b973741e68a058.zip chromium_src-4fcbbc7fd228382b4154ad8ad7b973741e68a058.tar.gz chromium_src-4fcbbc7fd228382b4154ad8ad7b973741e68a058.tar.bz2 |
Temporarily disable cookie codepaths that use WebKitClient to analyze
performance impact.
TBR=dglazkov
Review URL: http://codereview.chromium.org/39177
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10974 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/chromium_bridge_impl.cc')
-rw-r--r-- | webkit/glue/chromium_bridge_impl.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/webkit/glue/chromium_bridge_impl.cc b/webkit/glue/chromium_bridge_impl.cc index f832150..4675e79 100644 --- a/webkit/glue/chromium_bridge_impl.cc +++ b/webkit/glue/chromium_bridge_impl.cc @@ -97,6 +97,22 @@ ChromeClientImpl* ToChromeClient(WebCore::Widget* widget) { namespace WebCore { +// Cookies -------------------------------------------------------------------- + +void ChromiumBridge::setCookies( + const KURL& url, const KURL& policy_url, const String& cookie) { + webkit_glue::SetCookie( + webkit_glue::KURLToGURL(url), + webkit_glue::KURLToGURL(policy_url), + webkit_glue::StringToStdString(cookie)); +} + +String ChromiumBridge::cookies(const KURL& url, const KURL& policy_url) { + return webkit_glue::StdStringToString(webkit_glue::GetCookies( + webkit_glue::KURLToGURL(url), + webkit_glue::KURLToGURL(policy_url))); +} + // Font ----------------------------------------------------------------------- #if defined(OS_WIN) |