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

Unified Diff: webkit/tools/test_shell/simple_appcache_system.h

Issue 195077: Tell the AppCacheService which request context to use when fetching resources... (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_service.cc ('k') | webkit/tools/test_shell/simple_appcache_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/simple_appcache_system.h
===================================================================
--- webkit/tools/test_shell/simple_appcache_system.h (revision 26234)
+++ webkit/tools/test_shell/simple_appcache_system.h (working copy)
@@ -19,6 +19,7 @@
class SimpleBackendProxy;
class SimpleFrontendProxy;
class URLRequest;
+class URLRequestContext;
// A class that composes the constituent parts of an appcache system
// together for use in a single process with two relavant threads,
@@ -43,9 +44,9 @@
// at a time, but after IO thread termination a new one can be
// started on which this method should be called. The instance
// is assumed to outlive the IO thread.
- static void InitializeOnIOThread() {
+ static void InitializeOnIOThread(URLRequestContext* request_context) {
if (instance_)
- instance_->InitOnIOThread();
+ instance_->InitOnIOThread(request_context);
}
// Called by TestShellWebKitInit to manufacture a 'host' for webcore.
@@ -79,7 +80,7 @@
// Instance methods called by our static public methods
void InitOnUIThread(const FilePath& cache_directory);
- void InitOnIOThread();
+ void InitOnIOThread(URLRequestContext* request_context);
WebKit::WebApplicationCacheHost* CreateCacheHostForWebKit(
WebKit::WebApplicationCacheHostClient* client);
void SetExtraRequestBits(URLRequest* request,
« no previous file with comments | « webkit/appcache/appcache_service.cc ('k') | webkit/tools/test_shell/simple_appcache_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698