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

Unified Diff: webkit/tools/test_shell/test_shell.cc

Issue 11293252: Change Interceptors into URLRequestJobFactory::ProtocolHandlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address erikwright's third round of comments Created 8 years 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/test_shell.cc
diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
index 70954bfba3e969ad955eb9a25eff29767a6379e6..91dd2e9b3f060d6d006b32caa228545fb3a1cd90 100644
--- a/webkit/tools/test_shell/test_shell.cc
+++ b/webkit/tools/test_shell/test_shell.cc
@@ -169,6 +169,9 @@ TestShell::~TestShell() {
LoadURL(GURL("about:blank"));
}
+ net::URLRequestFilter* filter = net::URLRequestFilter::GetInstance();
willchan no longer on Chromium 2012/12/11 19:23:34 Whoa! What's this global here? I've never seen thi
pauljensen 2012/12/11 21:22:55 Ya, not only is it an icky global singleton but it
+ filter->RemoveHostnameHandler("test-shell-resource", "inspector");
+
// Call GC twice to clean up garbage.
CallJSGC();
CallJSGC();
« net/url_request/url_request_test_util.h ('K') | « net/url_request/url_request_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698