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

Unified Diff: net/url_request/url_request_context_builder.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: net/url_request/url_request_context_builder.cc
diff --git a/net/url_request/url_request_context_builder.cc b/net/url_request/url_request_context_builder.cc
index b08904e973b66f87c3b3463717b2296f89899c86..669faa3bdab9dbdf83c016dda7cb33e13d799456 100644
--- a/net/url_request/url_request_context_builder.cc
+++ b/net/url_request/url_request_context_builder.cc
@@ -101,6 +101,10 @@ class BasicNetworkDelegate : public NetworkDelegate {
return true;
}
+ virtual bool OnCanRejectRequest(const URLRequest& request) const OVERRIDE {
+ return false;
+ }
+
DISALLOW_COPY_AND_ASSIGN(BasicNetworkDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698