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

Side by Side Diff: chrome/browser/chromeos/drive/drive_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 (c) 2012 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/drive/drive_protocol_handler.h"
6
7 #include "base/logging.h"
8 #include "chrome/browser/chromeos/drive/drive_url_request_job.h"
9 #include "net/url_request/url_request.h"
10 #include "url/gurl.h"
11
12 namespace drive {
13
14 DriveProtocolHandler::DriveProtocolHandler(void* profile_id)
15 : profile_id_(profile_id) {
16 }
17
18 DriveProtocolHandler::~DriveProtocolHandler() {
19 }
20
21 net::URLRequestJob* DriveProtocolHandler::MaybeCreateJob(
22 net::URLRequest* request, net::NetworkDelegate* network_delegate) const {
23 DVLOG(1) << "Handling url: " << request->url().spec();
24 return new DriveURLRequestJob(profile_id_, request, network_delegate);
25 }
26
27 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_protocol_handler.h ('k') | chrome/browser/chromeos/drive/drive_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698