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

Unified Diff: chrome/browser/renderer_host/offline_resource_throttle.h

Issue 10916132: AppCache and StoragePartition'ing (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/offline_resource_throttle.h
===================================================================
--- chrome/browser/renderer_host/offline_resource_throttle.h (revision 156155)
+++ chrome/browser/renderer_host/offline_resource_throttle.h (working copy)
@@ -13,17 +13,13 @@
#include "content/public/browser/resource_throttle.h"
#include "net/base/completion_callback.h"
-class ChromeAppCacheService;
-class ResourceDispatcherHost;
-
-namespace content {
-class ResourceContext;
+namespace appcache {
+class AppCacheService;
}
namespace net {
class URLRequest;
-} // namespace net
-
+}
// Used to show an offline interstitial page when the network is not available.
class OfflineResourceThrottle
: public content::ResourceThrottle,
@@ -32,7 +28,7 @@
OfflineResourceThrottle(int render_process_id,
int render_view_id,
net::URLRequest* request,
- content::ResourceContext* resource_context);
+ appcache::AppCacheService* appcache_service);
virtual ~OfflineResourceThrottle();
// content::ResourceThrottle implementation:
@@ -55,8 +51,8 @@
int render_process_id_;
int render_view_id_;
net::URLRequest* request_;
- // Safe to keep a pointer around since ResourceContext outlives all requests.
- content::ResourceContext* resource_context_;
+ // Safe to keep a pointer around since AppCacheService outlives all requests.
+ appcache::AppCacheService* appcache_service_;
net::CancelableCompletionCallback appcache_completion_callback_;
DISALLOW_COPY_AND_ASSIGN(OfflineResourceThrottle);

Powered by Google App Engine
This is Rietveld 408576698