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

Side by Side Diff: webkit/appcache/view_appcache_internals_job.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_ 5 #ifndef WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
6 #define WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_ 6 #define WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "webkit/appcache/appcache_export.h" 9 #include "webkit/appcache/appcache_export.h"
10 10
11 namespace net { 11 namespace net {
12 class NetworkDelegate;
12 class URLRequest; 13 class URLRequest;
13 class URLRequestJob; 14 class URLRequestJob;
14 } 15 }
15 16
16 namespace appcache { 17 namespace appcache {
17 18
18 class AppCacheService; 19 class AppCacheService;
19 20
20 class APPCACHE_EXPORT ViewAppCacheInternalsJobFactory { 21 class APPCACHE_EXPORT ViewAppCacheInternalsJobFactory {
21 public: 22 public:
22 static net::URLRequestJob* CreateJobForRequest( 23 static net::URLRequestJob* CreateJobForRequest(
23 net::URLRequest* request, AppCacheService* service); 24 net::URLRequest* request,
25 net::NetworkDelegate* network_delegate,
26 AppCacheService* service);
24 27
25 private: 28 private:
26 DISALLOW_IMPLICIT_CONSTRUCTORS(ViewAppCacheInternalsJobFactory); 29 DISALLOW_IMPLICIT_CONSTRUCTORS(ViewAppCacheInternalsJobFactory);
27 }; 30 };
28 31
29 } // namespace appcache 32 } // namespace appcache
30 33
31 #endif // WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_ 34 #endif // WEBKIT_APPCACHE_VIEW_APPCACHE_INTERNALS_JOB_H_
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_url_request_job_unittest.cc ('k') | webkit/appcache/view_appcache_internals_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698