Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: chrome/browser/chromeos/fileapi/external_file_protocol_handler.cc

Issue 580023003: Rename the drive: scheme with the externalfile: scheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "chrome/browser/chromeos/fileapi/external_file_protocol_handler.h"
6
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"
11
12 namespace chromeos {
13
14 ExternalFileProtocolHandler::ExternalFileProtocolHandler(void* profile_id)
15 : profile_id_(profile_id) {
16 }
17
18 ExternalFileProtocolHandler::~ExternalFileProtocolHandler() {
19 }
20
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);
26 }
27
28 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698