Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1408)

Unified Diff: webkit/glue/chromium_bridge_impl.cc

Issue 39177: Temporarily disable cookie codepaths that use WebKitClient to analyze... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/renderer_glue.cc ('k') | webkit/glue/webkit_glue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/chromium_bridge_impl.cc
===================================================================
--- webkit/glue/chromium_bridge_impl.cc (revision 10924)
+++ webkit/glue/chromium_bridge_impl.cc (working copy)
@@ -97,6 +97,22 @@
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)
« no previous file with comments | « chrome/renderer/renderer_glue.cc ('k') | webkit/glue/webkit_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698