Index: content/browser/download/download_manager_impl_unittest.cc |
diff --git a/content/browser/download/download_manager_impl_unittest.cc b/content/browser/download/download_manager_impl_unittest.cc |
index bc1d9e3239f6adfcc997127e4d4e20c0dfc57bc9..114b554d4200f217593734af952cf4c042cedc5e 100644 |
--- a/content/browser/download/download_manager_impl_unittest.cc |
+++ b/content/browser/download/download_manager_impl_unittest.cc |
@@ -386,11 +386,28 @@ class MockBrowserContext : public BrowserContext { |
MOCK_METHOD0(GetPath, FilePath()); |
MOCK_CONST_METHOD0(IsOffTheRecord, bool()); |
MOCK_METHOD0(GetRequestContext, net::URLRequestContextGetter*()); |
+ virtual net::URLRequestContextGetter* CreateRequestContext( |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ blob_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ file_system_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::Interceptor> |
+ developer_protocol_handler) { |
+ return NULL; |
+ } |
MOCK_METHOD1(GetRequestContextForRenderProcess, |
net::URLRequestContextGetter*(int renderer_child_id)); |
- MOCK_METHOD2(GetRequestContextForStoragePartition, |
- net::URLRequestContextGetter*( |
- const FilePath& partition_path, bool in_memory)); |
+ virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
+ const FilePath& partition_path, |
+ bool in_memory, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ blob_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ file_system_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::Interceptor> |
+ developer_protocol_handler) { |
+ return NULL; |
+ } |
MOCK_METHOD0(GetMediaRequestContext, |
net::URLRequestContextGetter*()); |
MOCK_METHOD1(GetMediaRequestContextForRenderProcess, |