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

Unified Diff: chrome/browser/net/chrome_url_request_context.h

Issue 10969017: Create a new URLRequestJobFactory for isolated request contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ordering Created 8 years, 3 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: chrome/browser/net/chrome_url_request_context.h
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h
index 7d20f4e1fe03cd3d6e09a1e92a1c527f2932c954..3856dfa52cdf9556b4ca90c764f98e3338c0c6f9 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -13,6 +13,7 @@
#include "content/public/browser/notification_registrar.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_context_getter.h"
+#include "net/url_request/url_request_job_factory.h"
class ChromeURLDataManagerBackend;
class ChromeURLRequestContextFactory;
@@ -144,12 +145,15 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
static ChromeURLRequestContextGetter* CreateOriginalForIsolatedApp(
Profile* profile,
const ProfileIOData* profile_io_data,
- const std::string& app_id);
+ const std::string& app_id,
+ scoped_ptr<net::URLRequestJobFactory::Interceptor>
+ protocol_handler_interceptor);
// Create an instance for an original profile for media with isolated
// storage. This is expected to get called on UI thread.
static ChromeURLRequestContextGetter* CreateOriginalForIsolatedMedia(
Profile* profile,
+ ChromeURLRequestContextGetter* app_context,
const ProfileIOData* profile_io_data,
const std::string& app_id);
@@ -168,7 +172,9 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
static ChromeURLRequestContextGetter* CreateOffTheRecordForIsolatedApp(
Profile* profile,
const ProfileIOData* profile_io_data,
- const std::string& app_id);
+ const std::string& app_id,
+ scoped_ptr<net::URLRequestJobFactory::Interceptor>
+ protocol_handler_interceptor);
// Clean up UI thread resources. This is expected to get called on the UI
// thread before the instance is deleted on the IO thread.
« no previous file with comments | « chrome/browser/extensions/extension_fileapi_apitest.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698