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

Unified Diff: net/url_request/url_request_test_util.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: Pure merge to LKGR 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: net/url_request/url_request_test_util.cc
diff --git a/net/url_request/url_request_test_util.cc b/net/url_request/url_request_test_util.cc
index 11eda377171c2109a055f5af9b35885c37875cad..e62855711a23cb7cbce0f08c7eee0b7151f93bba 100644
--- a/net/url_request/url_request_test_util.cc
+++ b/net/url_request/url_request_test_util.cc
@@ -122,6 +122,11 @@ TestURLRequest::~TestURLRequest() {
set_context(NULL);
}
+bool TestURLRequestThrottlerManagerDelegate::MayRejectRequest(
+ net::URLRequest* request) {
+ return true;
+}
+
TestURLRequestContextGetter::TestURLRequestContextGetter(
const scoped_refptr<base::MessageLoopProxy>& io_message_loop_proxy)
: io_message_loop_proxy_(io_message_loop_proxy) {

Powered by Google App Engine
This is Rietveld 408576698