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

Unified Diff: content/shell/shell_network_delegate.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: content/shell/shell_network_delegate.cc
diff --git a/content/shell/shell_network_delegate.cc b/content/shell/shell_network_delegate.cc
index 1faa68d89727e0a781feb298bd3af1ef3d45e162..65e340960bccee3faa15a186b601af3e364666cd 100644
--- a/content/shell/shell_network_delegate.cc
+++ b/content/shell/shell_network_delegate.cc
@@ -86,4 +86,9 @@ bool ShellNetworkDelegate::OnCanAccessFile(const net::URLRequest& request,
return true;
}
+bool ShellNetworkDelegate::OnCanRejectRequest(
+ const net::URLRequest& request) const {
+ return false;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698