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

Unified Diff: chrome/renderer/renderer_glue.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 | « DEPS ('k') | webkit/glue/chromium_bridge_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_glue.cc
===================================================================
--- chrome/renderer/renderer_glue.cc (revision 10924)
+++ chrome/renderer/renderer_glue.cc (working copy)
@@ -302,6 +302,17 @@
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
« no previous file with comments | « DEPS ('k') | webkit/glue/chromium_bridge_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698