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

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

Issue 10440119: Introduce a delegate to avoid hardcoding "chrome-extension" in net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review requests. Created 8 years, 6 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.cc
diff --git a/webkit/tools/test_shell/simple_resource_loader_bridge.cc b/webkit/tools/test_shell/simple_resource_loader_bridge.cc
index 450cbeea09a607d9d15f16a0d6212b1bc2a678d1..f9b911eab80d8ddf8249e1042ba3ce7d477bb3f7 100644
--- a/webkit/tools/test_shell/simple_resource_loader_bridge.cc
+++ b/webkit/tools/test_shell/simple_resource_loader_bridge.cc
@@ -177,6 +177,11 @@ class TestShellNetworkDelegate : public net::NetworkDelegate {
const FilePath& path) const OVERRIDE {
return true;
}
+ virtual bool OnCanRejectRequest(
+ const net::URLRequest& request) const OVERRIDE {
+ return false;
+ }
+
};
TestShellRequestContextParams* g_request_context_params = NULL;

Powered by Google App Engine
This is Rietveld 408576698