summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/shell_browser_context.h
diff options
context:
space:
mode:
authormkwst <mkwst@chromium.org>2014-10-16 00:36:52 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-16 07:37:11 +0000
commit94388f795c709fc4a9f84da800d407b2b8257166 (patch)
treef78369bf8ed1309f583f5ce121450208391edc17 /content/shell/browser/shell_browser_context.h
parent1c493cf5ec7f771d2222f9a453d6278916b9fc46 (diff)
downloadchromium_src-94388f795c709fc4a9f84da800d407b2b8257166.zip
chromium_src-94388f795c709fc4a9f84da800d407b2b8257166.tar.gz
chromium_src-94388f795c709fc4a9f84da800d407b2b8257166.tar.bz2
Content Shell: Introduce LayoutTestURLRequestContextGetter.
This patch moves the DRT-specific bits of ShellURLRequestContextGetter out into a layout-test-only subclass. BUG=420994 Review URL: https://codereview.chromium.org/651883002 Cr-Commit-Position: refs/heads/master@{#299864}
Diffstat (limited to 'content/shell/browser/shell_browser_context.h')
-rw-r--r--content/shell/browser/shell_browser_context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/shell/browser/shell_browser_context.h b/content/shell/browser/shell_browser_context.h
index b840d78..b7fb41b 100644
--- a/content/shell/browser/shell_browser_context.h
+++ b/content/shell/browser/shell_browser_context.h
@@ -90,10 +90,16 @@ class ShellBrowserContext : public BrowserContext {
// Used by ShellBrowserContext to initiate and set different types of
// URLRequestContextGetter.
+ virtual ShellURLRequestContextGetter* CreateURLRequestContextGetter(
+ ProtocolHandlerMap* protocol_handlers,
+ URLRequestInterceptorScopedVector request_interceptors);
void set_url_request_context_getter(ShellURLRequestContextGetter* getter) {
url_request_getter_ = getter;
}
+ bool ignore_certificate_errors() const { return ignore_certificate_errors_; }
+ net::NetLog* net_log() const { return net_log_; }
+
scoped_ptr<ShellResourceContext> resource_context_;
bool ignore_certificate_errors_;
scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_;