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 /chrome/renderer/renderer_glue.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 'chrome/renderer/renderer_glue.cc')
-rw-r--r-- | chrome/renderer/renderer_glue.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/renderer/renderer_glue.cc b/chrome/renderer/renderer_glue.cc index 9508c50..5f63123 100644 --- a/chrome/renderer/renderer_glue.cc +++ b/chrome/renderer/renderer_glue.cc @@ -302,6 +302,17 @@ ResourceLoaderBridge* ResourceLoaderBridge::Create( mixed_content, 0); } +void SetCookie(const GURL& url, const GURL& policy_url, + const std::string& cookie) { + RenderThread::current()->Send(new ViewHostMsg_SetCookie(url, policy_url, cookie)); +} + +std::string GetCookies(const GURL& url, const GURL& policy_url) { + std::string cookies; + RenderThread::current()->Send(new ViewHostMsg_GetCookies(url, policy_url, &cookies)); + return cookies; +} + void NotifyCacheStats() { // Update the browser about our cache // NOTE: Since this can be called from the plugin process, we might not have |