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

Unified Diff: content/browser/appcache/appcache_job.h

Issue 2874663004: Provide skeleton functionality for AppCache handling in the network service. (Closed)
Patch Set: Disable posting to the IO thread if appcache is enabled in the n/w service code Created 3 years, 7 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/appcache/appcache_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/appcache_job.h
diff --git a/content/browser/appcache/appcache_job.h b/content/browser/appcache/appcache_job.h
index a28bc3318e16d9df45a49ed046e4653e61dbc3f2..bc7a14b83b01c72b0427612472ec0d8208a74021 100644
--- a/content/browser/appcache/appcache_job.h
+++ b/content/browser/appcache/appcache_job.h
@@ -25,6 +25,7 @@ class AppCacheEntry;
class AppCacheHost;
class AppCacheRequest;
class AppCacheStorage;
+class AppCacheURLLoaderJob;
class URLRequestJob;
// Interface for an AppCache job. This is used to send data stored in the
@@ -100,9 +101,13 @@ class CONTENT_EXPORT AppCacheJob
virtual const GURL& GetURL() const = 0;
// Returns the underlying URLRequestJob if any. This only applies to
- // AppCaches loaded via the URLRequest mechanism.
+ // AppCaches loaded via the URLLoader mechanism.
virtual net::URLRequestJob* AsURLRequestJob();
+ // Returns the underlying ApppCacheURLLoaderJob if any. This only applies to
+ // AppCaches loaded via the URLRequest mechanism.
+ virtual AppCacheURLLoaderJob* AsURLLoaderJob();
+
protected:
AppCacheJob();
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/appcache/appcache_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698