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

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

Issue 2249005: AppCache: Use a dedicated thread for the disk cache. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Bound to IO thread Created 10 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
Index: webkit/tools/test_shell/simple_resource_loader_bridge.h
===================================================================
--- webkit/tools/test_shell/simple_resource_loader_bridge.h (revision 48989)
+++ webkit/tools/test_shell/simple_resource_loader_bridge.h (working copy)
@@ -6,6 +6,7 @@
#define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_RESOURCE_LOADER_BRIDGE_H__
#include <string>
+#include "base/message_loop_proxy.h"
#include "base/file_path.h"
#include "net/http/http_cache.h"
@@ -35,6 +36,9 @@
const GURL& first_party_for_cookies);
static bool EnsureIOThread();
static void SetAcceptAllCookies(bool accept_all_cookies);
+
+ // This method should only be called after Init(), and before Shutdown().
+ static scoped_refptr<base::MessageLoopProxy> GetCacheThread();
};
#endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_RESOURCE_LOADER_BRIDGE_H__
« no previous file with comments | « webkit/tools/test_shell/simple_appcache_system.cc ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698