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

Side by Side Diff: content/public/browser/resource_dispatcher_host_delegate.h

Issue 344493002: Move all remaining appcache-related code to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "webkit/common/resource_type.h" 13 #include "webkit/common/resource_type.h"
14 14
15 class GURL; 15 class GURL;
16 template <class T> class ScopedVector; 16 template <class T> class ScopedVector;
17 17
18 namespace appcache { 18 namespace content {
19 class AppCacheService; 19 class AppCacheService;
jam 2014/06/25 21:51:14 ditto
20 } 20 }
21 21
22 namespace content { 22 namespace content {
23 class ResourceContext; 23 class ResourceContext;
24 class ResourceThrottle; 24 class ResourceThrottle;
25 class StreamHandle; 25 class StreamHandle;
26 struct Referrer; 26 struct Referrer;
27 struct ResourceResponse; 27 struct ResourceResponse;
28 } 28 }
29 29
(...skipping 21 matching lines...) Expand all
51 const std::string& method, 51 const std::string& method,
52 const GURL& url, 52 const GURL& url,
53 ResourceType::Type resource_type, 53 ResourceType::Type resource_type,
54 ResourceContext* resource_context); 54 ResourceContext* resource_context);
55 55
56 // Called after ShouldBeginRequest to allow the embedder to add resource 56 // Called after ShouldBeginRequest to allow the embedder to add resource
57 // throttles. 57 // throttles.
58 virtual void RequestBeginning( 58 virtual void RequestBeginning(
59 net::URLRequest* request, 59 net::URLRequest* request,
60 ResourceContext* resource_context, 60 ResourceContext* resource_context,
61 appcache::AppCacheService* appcache_service, 61 AppCacheService* appcache_service,
62 ResourceType::Type resource_type, 62 ResourceType::Type resource_type,
63 int child_id, 63 int child_id,
64 int route_id, 64 int route_id,
65 ScopedVector<ResourceThrottle>* throttles); 65 ScopedVector<ResourceThrottle>* throttles);
66 66
67 // Allows an embedder to add additional resource handlers for a download. 67 // Allows an embedder to add additional resource handlers for a download.
68 // |must_download| is set if the request must be handled as a download. 68 // |must_download| is set if the request must be handled as a download.
69 virtual void DownloadStarting( 69 virtual void DownloadStarting(
70 net::URLRequest* request, 70 net::URLRequest* request,
71 ResourceContext* resource_context, 71 ResourceContext* resource_context,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 virtual void RequestComplete(net::URLRequest* url_request); 137 virtual void RequestComplete(net::URLRequest* url_request);
138 138
139 protected: 139 protected:
140 ResourceDispatcherHostDelegate(); 140 ResourceDispatcherHostDelegate();
141 virtual ~ResourceDispatcherHostDelegate(); 141 virtual ~ResourceDispatcherHostDelegate();
142 }; 142 };
143 143
144 } // namespace content 144 } // namespace content
145 145
146 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 146 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698