cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / chrome / browser / chromeos / fileapi / external_file_protocol_handler.cc
blob21eefc792c12a9ded26b110b1ed39abe4bf18011
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/fileapi/external_file_protocol_handler.h"
7 #include "base/logging.h"
8 #include "chrome/browser/chromeos/fileapi/external_file_url_request_job.h"
9 #include "net/url_request/url_request.h"
10 #include "url/gurl.h"
12 namespace chromeos {
14 ExternalFileProtocolHandler::ExternalFileProtocolHandler(void* profile_id)
15 : profile_id_(profile_id) {
18 ExternalFileProtocolHandler::~ExternalFileProtocolHandler() {
21 net::URLRequestJob* ExternalFileProtocolHandler::MaybeCreateJob(
22 net::URLRequest* request,
23 net::NetworkDelegate* network_delegate) const {
24 DVLOG(1) << "Handling url: " << request->url().spec();
25 return new ExternalFileURLRequestJob(profile_id_, request, network_delegate);
28 } // namespace chromeos