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

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

Issue 358993007: Fix nits in content/browser/appcache/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « content/public/browser/resource_context.h ('k') | content/public/browser/storage_partition.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 content {
19 class AppCacheService;
20 }
21
22 namespace content {
23 class ResourceContext;
24 class ResourceThrottle;
25 class StreamHandle;
26 struct Referrer;
27 struct ResourceResponse;
28 }
29
30 namespace IPC { 18 namespace IPC {
31 class Sender; 19 class Sender;
32 } 20 }
33 21
34 namespace net { 22 namespace net {
35 class AuthChallengeInfo; 23 class AuthChallengeInfo;
36 class URLRequest; 24 class URLRequest;
37 } 25 }
38 26
39 namespace content { 27 namespace content {
40 28
29 class AppCacheService;
30 class ResourceContext;
41 class ResourceDispatcherHostLoginDelegate; 31 class ResourceDispatcherHostLoginDelegate;
32 class ResourceThrottle;
33 class StreamHandle;
34 struct Referrer;
35 struct ResourceResponse;
42 36
43 // Interface that the embedder provides to ResourceDispatcherHost to allow 37 // Interface that the embedder provides to ResourceDispatcherHost to allow
44 // observing and modifying requests. 38 // observing and modifying requests.
45 class CONTENT_EXPORT ResourceDispatcherHostDelegate { 39 class CONTENT_EXPORT ResourceDispatcherHostDelegate {
46 public: 40 public:
47 // Called when a request begins. Return false to abort the request. 41 // Called when a request begins. Return false to abort the request.
48 virtual bool ShouldBeginRequest( 42 virtual bool ShouldBeginRequest(
49 int child_id, 43 int child_id,
50 int route_id, 44 int route_id,
51 const std::string& method, 45 const std::string& method,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 virtual void RequestComplete(net::URLRequest* url_request); 131 virtual void RequestComplete(net::URLRequest* url_request);
138 132
139 protected: 133 protected:
140 ResourceDispatcherHostDelegate(); 134 ResourceDispatcherHostDelegate();
141 virtual ~ResourceDispatcherHostDelegate(); 135 virtual ~ResourceDispatcherHostDelegate();
142 }; 136 };
143 137
144 } // namespace content 138 } // namespace content
145 139
146 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 140 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/resource_context.h ('k') | content/public/browser/storage_partition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698