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

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

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index af10346b14b42ac5bdff3fd5032e4bbf772b6171..d1b61fe7cb9a652b4c23c86b744af72023a77664 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -46,12 +46,12 @@ class ImageSkia;
namespace net {
class CookieOptions;
+class CookieStore;
class HttpNetworkSession;
class NetLog;
class SSLCertRequestInfo;
class SSLInfo;
class URLRequest;
-class URLRequestContext;
class URLRequestContextGetter;
class X509Certificate;
}
@@ -285,12 +285,12 @@ class CONTENT_EXPORT ContentBrowserClient {
ResourceContext* context,
const std::vector<std::pair<int, int> >& render_views);
- // Allow the embedder to override the request context based on the URL for
- // certain operations, like cookie access. Returns NULL to indicate the
- // regular request context should be used.
+ // Allow the embedder to override the cookie store based on the URL.
+ // Returns NULL to indicate the regular cookie store should be used.
// This is called on the IO thread.
- virtual net::URLRequestContext* OverrideRequestContextForURL(
- const GURL& url, ResourceContext* context);
+ virtual net::CookieStore* OverrideCookieStoreForURL(
+ const GURL& url,
+ content::ResourceContext* context);
// Allow the embedder to specify a string version of the storage partition
// config with a site.

Powered by Google App Engine
This is Rietveld 408576698