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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_protocol_handler.h

Issue 10855209: Refactoring: ProtocolHandler::MaybeCreateJob takes NetworkDelegate as argument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest merge Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PROTOCOL_HANDLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PROTOCOL_HANDLER_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PROTOCOL_HANDLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PROTOCOL_HANDLER_H_
7 7
8 #include "net/url_request/url_request_job_factory.h" 8 #include "net/url_request/url_request_job_factory.h"
9 9
10 namespace gdata { 10 namespace gdata {
11 11
12 class GDataProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler { 12 class GDataProtocolHandler : public net::URLRequestJobFactory::ProtocolHandler {
13 public: 13 public:
14 GDataProtocolHandler(); 14 GDataProtocolHandler();
15 virtual ~GDataProtocolHandler(); 15 virtual ~GDataProtocolHandler();
16 // Creates URLRequestJobs for drive:// URLs. 16 // Creates URLRequestJobs for drive:// URLs.
17 virtual net::URLRequestJob* MaybeCreateJob( 17 virtual net::URLRequestJob* MaybeCreateJob(
18 net::URLRequest* request) const OVERRIDE; 18 net::URLRequest* request,
19 net::NetworkDelegate* network_delegate) const OVERRIDE;
19 }; 20 };
20 21
21 } // namespace gdata 22 } // namespace gdata
22 23
23 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PROTOCOL_HANDLER_H_ 24 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_PROTOCOL_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_browsertest.cc ('k') | chrome/browser/chromeos/gdata/gdata_protocol_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698