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

Side by Side Diff: content/browser/appcache/appcache_request_handler.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
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 CONTENT_BROWSER_APPCACHE_APPCACHE_REQUEST_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_REQUEST_HANDLER_H_
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_REQUEST_HANDLER_H_ 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_REQUEST_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/supports_user_data.h" 9 #include "base/supports_user_data.h"
10 #include "content/browser/appcache/appcache_entry.h" 10 #include "content/browser/appcache/appcache_entry.h"
11 #include "content/browser/appcache/appcache_host.h" 11 #include "content/browser/appcache/appcache_host.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 namespace net { 15 namespace net {
16 class NetworkDelegate; 16 class NetworkDelegate;
17 class URLRequest; 17 class URLRequest;
18 class URLRequestJob; 18 class URLRequestJob;
19 } // namespace net 19 } // namespace net
20 20
21 namespace content { 21 namespace content {
22 class AppCacheRequestHandlerTest; 22 class AppCacheRequestHandlerTest;
23 }
24
25 namespace content {
26
27 class AppCacheURLRequestJob; 23 class AppCacheURLRequestJob;
28 24
29 // An instance is created for each net::URLRequest. The instance survives all 25 // An instance is created for each net::URLRequest. The instance survives all
30 // http transactions involved in the processing of its net::URLRequest, and is 26 // http transactions involved in the processing of its net::URLRequest, and is
31 // given the opportunity to hijack the request along the way. Callers 27 // given the opportunity to hijack the request along the way. Callers
32 // should use AppCacheHost::CreateRequestHandler to manufacture instances 28 // should use AppCacheHost::CreateRequestHandler to manufacture instances
33 // that can retrieve resources for a particular host. 29 // that can retrieve resources for a particular host.
34 class CONTENT_EXPORT AppCacheRequestHandler 30 class CONTENT_EXPORT AppCacheRequestHandler
35 : public base::SupportsUserData::Data, 31 : public base::SupportsUserData::Data,
36 public AppCacheHost::Observer, 32 public AppCacheHost::Observer,
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // from the old processes structures over to the new structures. 139 // from the old processes structures over to the new structures.
144 scoped_ptr<AppCacheHost> host_for_cross_site_transfer_; 140 scoped_ptr<AppCacheHost> host_for_cross_site_transfer_;
145 141
146 friend class content::AppCacheRequestHandlerTest; 142 friend class content::AppCacheRequestHandlerTest;
147 DISALLOW_COPY_AND_ASSIGN(AppCacheRequestHandler); 143 DISALLOW_COPY_AND_ASSIGN(AppCacheRequestHandler);
148 }; 144 };
149 145
150 } // namespace content 146 } // namespace content
151 147
152 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_REQUEST_HANDLER_H_ 148 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_REQUEST_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_quota_client.h ('k') | content/browser/appcache/appcache_response.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698