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

Side by Side Diff: content/browser/net/view_blob_internals_job_factory.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, 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 | 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 CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_
6 #define CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ 6 #define CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_
7 7
8 namespace net { 8 namespace net {
9 class NetworkDelegate;
9 class URLRequest; 10 class URLRequest;
10 class URLRequestJob; 11 class URLRequestJob;
11 } // namespace net 12 } // namespace net
12 namespace webkit_blob { 13 namespace webkit_blob {
13 class BlobStorageController; 14 class BlobStorageController;
14 } // webkit_blob 15 } // webkit_blob
15 16
16 class GURL; 17 class GURL;
17 18
18 class ViewBlobInternalsJobFactory { 19 class ViewBlobInternalsJobFactory {
19 public: 20 public:
20 static bool IsSupportedURL(const GURL& url); 21 static bool IsSupportedURL(const GURL& url);
21 static net::URLRequestJob* CreateJobForRequest( 22 static net::URLRequestJob* CreateJobForRequest(
22 net::URLRequest* request, 23 net::URLRequest* request,
24 net::NetworkDelegate* network_delegate,
23 webkit_blob::BlobStorageController* blob_storage_controller); 25 webkit_blob::BlobStorageController* blob_storage_controller);
24 }; 26 };
25 27
26 #endif // CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_ 28 #endif // CONTENT_BROWSER_NET_VIEW_BLOB_INTERNALS_JOB_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/histogram_internals_request_job.cc ('k') | content/browser/net/view_blob_internals_job_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698