From 4fcbbc7fd228382b4154ad8ad7b973741e68a058 Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Thu, 5 Mar 2009 07:23:43 +0000 Subject: 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 --- chrome/renderer/renderer_glue.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'chrome/renderer/renderer_glue.cc') 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 -- cgit v1.1