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

Unified Diff: webkit/appcache/appcache_interceptor.h

Issue 192043: AppCacheHost cache selection algorithm (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « webkit/appcache/appcache_host_unittest.cc ('k') | webkit/appcache/appcache_interceptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_interceptor.h
===================================================================
--- webkit/appcache/appcache_interceptor.h (revision 26254)
+++ webkit/appcache/appcache_interceptor.h (working copy)
@@ -12,6 +12,7 @@
namespace appcache {
+class AppCacheRequestHandler;
class AppCacheService;
// An interceptor to hijack requests and potentially service them out of
@@ -46,12 +47,17 @@
private:
friend struct DefaultSingletonTraits<AppCacheInterceptor>;
+
static AppCacheInterceptor* instance() {
return Singleton<AppCacheInterceptor>::get();
}
- struct ExtraInfo;
+
AppCacheInterceptor();
virtual ~AppCacheInterceptor();
+
+ static void SetHandler(URLRequest* request, AppCacheRequestHandler* handler);
+ static AppCacheRequestHandler* GetHandler(URLRequest* request);
+
DISALLOW_COPY_AND_ASSIGN(AppCacheInterceptor);
};
« no previous file with comments | « webkit/appcache/appcache_host_unittest.cc ('k') | webkit/appcache/appcache_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698