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

Unified Diff: content/shell/browser/shell_browser_context.h

Issue 615583003: Introduce NetworkDelegate's implementation in extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | content/shell/browser/shell_browser_context.cc » ('j') | extensions/DEPS » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_browser_context.h
diff --git a/content/shell/browser/shell_browser_context.h b/content/shell/browser/shell_browser_context.h
index 7cc78cb803d87acc831ae6b985be32667e62b776..47e9fdb15ca332ecc8050eded1e9f503928567ee 100644
--- a/content/shell/browser/shell_browser_context.h
+++ b/content/shell/browser/shell_browser_context.h
@@ -54,14 +54,26 @@ class ShellBrowserContext : public BrowserContext {
virtual PushMessagingService* GetPushMessagingService() OVERRIDE;
virtual SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE;
+ virtual content::ShellURLRequestContextGetter* CreateURLRequestContextGetter(
+ ProtocolHandlerMap* protocol_handlers,
+ URLRequestInterceptorScopedVector request_interceptors);
net::URLRequestContextGetter* CreateRequestContext(
ProtocolHandlerMap* protocol_handlers,
URLRequestInterceptorScopedVector request_interceptors);
+
+ net::URLRequestContextGetter* CreateRequestContext(
+ ProtocolHandlerMap* protocol_handlers,
+ URLRequestInterceptorScopedVector request_interceptors,
+ net::NetworkDelegate* network_delegate);
+
net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
const base::FilePath& partition_path,
bool in_memory,
ProtocolHandlerMap* protocol_handlers,
URLRequestInterceptorScopedVector request_interceptors);
+ protected:
+ net::NetLog* net_log() { return net_log_; }
+ bool ignore_certificate_errors() { return ignore_certificate_errors_; }
private:
class ShellResourceContext;
« no previous file with comments | « no previous file | content/shell/browser/shell_browser_context.cc » ('j') | extensions/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698