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

Unified Diff: content/browser/renderer_host/render_message_filter.h

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile gdi. Created 7 years, 4 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/browser/renderer_host/render_message_filter.h
diff --git a/content/browser/renderer_host/render_message_filter.h b/content/browser/renderer_host/render_message_filter.h
index 3037c079130dd3b859430e2f8bc5955a966e3ee7..102377111b598f2d17d1a952b0494db61b31e94a 100644
--- a/content/browser/renderer_host/render_message_filter.h
+++ b/content/browser/renderer_host/render_message_filter.h
@@ -60,12 +60,12 @@ struct MediaLogEvent;
}
namespace net {
-class URLRequestContext;
class URLRequestContextGetter;
}
namespace content {
class BrowserContext;
+class CookieStoreMapImpl;
class DOMStorageContextImpl;
class MediaInternals;
class PluginServiceImpl;
@@ -85,6 +85,7 @@ class RenderMessageFilter : public BrowserMessageFilter {
PluginServiceImpl * plugin_service,
BrowserContext* browser_context,
net::URLRequestContextGetter* request_context,
+ const CookieStoreMapImpl& cookie_store_map,
RenderWidgetHelper* render_widget_helper,
media::AudioManager* audio_manager,
MediaInternals* media_internals,
@@ -105,11 +106,6 @@ class RenderMessageFilter : public BrowserMessageFilter {
int render_process_id() const { return render_process_id_; }
- // Returns the correct net::URLRequestContext depending on what type of url is
- // given.
- // Only call on the IO thread.
- net::URLRequestContext* GetRequestContextForURL(const GURL& url);
-
private:
friend class BrowserThread;
friend class base::DeleteHelper<RenderMessageFilter>;
@@ -272,6 +268,10 @@ class RenderMessageFilter : public BrowserMessageFilter {
// Contextual information to be used for requests created here.
scoped_refptr<net::URLRequestContextGetter> request_context_;
+
+ // Map of schemes to the CookieStore instance that services those schemes.
+ scoped_ptr<CookieStoreMapImpl> cookie_store_map_;
+
// The ResourceContext which is to be used on the IO thread.
ResourceContext* resource_context_;

Powered by Google App Engine
This is Rietveld 408576698