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

Unified Diff: webkit/glue/webkit_glue.h

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 | « webkit/glue/chromium_bridge_impl.cc ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkit_glue.h
===================================================================
--- webkit/glue/webkit_glue.h (revision 10924)
+++ webkit/glue/webkit_glue.h (working copy)
@@ -150,6 +150,18 @@
// This function is called to add a line to the application's log file.
void AppendToLog(const char* filename, int line, const char* message);
+// Sets a cookie string for the given URL. The policy_url argument indicates
+// the URL of the topmost frame, which may be useful for determining whether or
+// not to allow this cookie setting. NOTE: the cookie string is a standard
+// cookie string of the form "name=value; option1=x; option2=y"
+void SetCookie(const GURL& url, const GURL& policy_url,
+ const std::string& cookie);
+
+// Returns all cookies in the form "a=1; b=2; c=3" for the given URL. NOTE:
+// this string should not include any options that may have been specified when
+// the cookie was set. Semicolons delimit individual cookies in this context.
+std::string GetCookies(const GURL& url, const GURL& policy_url);
+
// Gather usage statistics from the in-memory cache and inform our host, if
// applicable.
void NotifyCacheStats();
« no previous file with comments | « webkit/glue/chromium_bridge_impl.cc ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698