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

Unified Diff: content/public/browser/content_browser_client.h

Issue 188693003: Allow the content browser client to specify a special cookie store to be (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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
Index: content/public/browser/content_browser_client.h
===================================================================
--- content/public/browser/content_browser_client.h (revision 255909)
+++ content/public/browser/content_browser_client.h (working copy)
@@ -50,6 +50,7 @@
namespace net {
class CookieOptions;
+class CookieStore;
class HttpNetworkSession;
class NetLog;
class SSLCertRequestInfo;
@@ -619,6 +620,12 @@
// Returns true if dev channel APIs are available for plugins.
virtual bool IsPluginAllowedToUseDevChannelAPIs();
+
+ // Returns a special cookie store to use for a given render process, or NULL
+ // if the default cookie store should be used
+ // This is called on the IO thread.
+ virtual net::CookieStore* GetSpecialCookieStoreForRenderProcess(
jam 2014/03/11 16:47:09 nit: "special" doesn't mean much, so I'd drop that
tburkard 2014/03/12 14:37:27 Done.
+ int render_process_id_);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698