| Index: blimp/engine/common/blimp_browser_context.cc
|
| diff --git a/blimp/engine/common/blimp_browser_context.cc b/blimp/engine/common/blimp_browser_context.cc
|
| index f91426a40ec4a64bec4b241298435393d10e30db..98a1201f24a78568bf2e1dbe7ceeb9c9f794a145 100644
|
| --- a/blimp/engine/common/blimp_browser_context.cc
|
| +++ b/blimp/engine/common/blimp_browser_context.cc
|
| @@ -101,23 +101,6 @@ net::URLRequestContextGetter* BlimpBrowserContext::GetRequestContext() {
|
| return GetDefaultStoragePartition(this)->GetURLRequestContext();
|
| }
|
|
|
| -const scoped_refptr<BlimpURLRequestContextGetter>&
|
| -BlimpBrowserContext::CreateRequestContext(
|
| - content::ProtocolHandlerMap* protocol_handlers,
|
| - content::URLRequestInterceptorScopedVector request_interceptors) {
|
| - DCHECK(!resource_context_->url_request_context_getter());
|
| - // net_log_ is owned by BrowserMainParts.
|
| - resource_context_->set_url_request_context_getter(
|
| - new BlimpURLRequestContextGetter(
|
| - ignore_certificate_errors_, GetPath(),
|
| - content::BrowserThread::GetMessageLoopProxyForThread(
|
| - content::BrowserThread::IO),
|
| - content::BrowserThread::GetMessageLoopProxyForThread(
|
| - content::BrowserThread::FILE),
|
| - protocol_handlers, std::move(request_interceptors), net_log_));
|
| - return resource_context_->url_request_context_getter();
|
| -}
|
| -
|
| net::URLRequestContextGetter* BlimpBrowserContext::GetMediaRequestContext() {
|
| return GetRequestContext();
|
| }
|
| @@ -166,5 +149,30 @@ BlimpBrowserContext::GetBackgroundSyncController() {
|
| return nullptr;
|
| }
|
|
|
| +net::URLRequestContextGetter* BlimpBrowserContext::CreateRequestContext(
|
| + content::ProtocolHandlerMap* protocol_handlers,
|
| + content::URLRequestInterceptorScopedVector request_interceptors) {
|
| + DCHECK(!resource_context_->url_request_context_getter());
|
| + // net_log_ is owned by BrowserMainParts.
|
| + resource_context_->set_url_request_context_getter(
|
| + new BlimpURLRequestContextGetter(
|
| + ignore_certificate_errors_, GetPath(),
|
| + content::BrowserThread::GetMessageLoopProxyForThread(
|
| + content::BrowserThread::IO),
|
| + content::BrowserThread::GetMessageLoopProxyForThread(
|
| + content::BrowserThread::FILE),
|
| + protocol_handlers, std::move(request_interceptors), net_log_));
|
| + return resource_context_->url_request_context_getter().get();
|
| +}
|
| +
|
| +net::URLRequestContextGetter*
|
| +BlimpBrowserContext::CreateRequestContextForStoragePartition(
|
| + const base::FilePath& partition_path,
|
| + bool in_memory,
|
| + content::ProtocolHandlerMap* protocol_handlers,
|
| + content::URLRequestInterceptorScopedVector request_interceptors) {
|
| + return nullptr;
|
| +}
|
| +
|
| } // namespace engine
|
| } // namespace blimp
|
|
|