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

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

Issue 2806084: Add SimpleResourceLoaderBridge::GetIoThread(), so it's possible to run tasks ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 | « no previous file | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/simple_resource_loader_bridge.h
===================================================================
--- webkit/tools/test_shell/simple_resource_loader_bridge.h (revision 53987)
+++ webkit/tools/test_shell/simple_resource_loader_bridge.h (working copy)
@@ -37,8 +37,11 @@
static bool EnsureIOThread();
static void SetAcceptAllCookies(bool accept_all_cookies);
- // This method should only be called after Init(), and before Shutdown().
+ // These methods should only be called after Init(), and before
+ // Shutdown(). The MessageLoops get replaced upon each call to
+ // Init(), and destroyed upon a call to ShutDown().
static scoped_refptr<base::MessageLoopProxy> GetCacheThread();
+ static scoped_refptr<base::MessageLoopProxy> GetIoThread();
};
#endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_RESOURCE_LOADER_BRIDGE_H__
« no previous file with comments | « no previous file | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698