| Index: net/url_request/file_protocol_handler.cc
|
| diff --git a/net/url_request/file_protocol_handler.cc b/net/url_request/file_protocol_handler.cc
|
| index ceed930985cd8514ca2d7c9b1209af5e71b5880b..a71bfdecb416f2af3b3eb6bbaec1893fa815f93d 100644
|
| --- a/net/url_request/file_protocol_handler.cc
|
| +++ b/net/url_request/file_protocol_handler.cc
|
| @@ -23,6 +23,14 @@ FileProtocolHandler::~FileProtocolHandler() {}
|
|
|
| URLRequestJob* FileProtocolHandler::MaybeCreateJob(
|
| URLRequest* request, NetworkDelegate* network_delegate) const {
|
| +#if defined(OS_ANDROID)
|
| + if (request->url().SchemeIs("content")) {
|
| + return new URLRequestFileJob(
|
| + request, network_delegate, base::FilePath(request->url().spec()),
|
| + file_task_runner_);
|
| + }
|
| +#endif
|
| +
|
| base::FilePath file_path;
|
| const bool is_file = FileURLToFilePath(request->url(), &file_path);
|
|
|
|
|