| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index b83e1646bfa0f7d427edec3ce62b27999b03642b..9ef35fb5be191a8711b14eebd4ff4f3b0fcb8d38 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -597,6 +597,16 @@ net::URLRequestContextGetter* TestingProfile::GetRequestContext() {
|
| return request_context_.get();
|
| }
|
|
|
| +net::URLRequestContextGetter* TestingProfile::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 request_context_.get();
|
| +}
|
| +
|
| net::URLRequestContextGetter* TestingProfile::GetRequestContextForRenderProcess(
|
| int renderer_child_id) {
|
| content::RenderProcessHost* rph = content::RenderProcessHost::FromID(
|
| @@ -647,9 +657,15 @@ net::SSLConfigService* TestingProfile::GetSSLConfigService() {
|
| }
|
|
|
| net::URLRequestContextGetter*
|
| -TestingProfile::GetRequestContextForStoragePartition(
|
| +TestingProfile::CreateRequestContextForStoragePartition(
|
| const FilePath& partition_path,
|
| - bool in_memory) {
|
| + 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) {
|
| // We don't test storage partitions here yet, so returning the same dummy
|
| // context is sufficient for now.
|
| return GetRequestContext();
|
|
|