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

Unified Diff: net/base/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: Address review nit and merge to LKGR for commit. 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
« no previous file with comments | « net/base/network_delegate.h ('k') | net/proxy/network_delegate_error_observer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate.cc
diff --git a/net/base/network_delegate.cc b/net/base/network_delegate.cc
index 79ad70103e923c8492fa05d27f76740877a73dcd..c3fd9e6ce5c8949fe126841f2c968e5f62dff576 100644
--- a/net/base/network_delegate.cc
+++ b/net/base/network_delegate.cc
@@ -113,4 +113,9 @@ bool NetworkDelegate::CanAccessFile(const URLRequest& request,
return OnCanAccessFile(request, path);
}
+bool NetworkDelegate::CanThrottleRequest(const URLRequest& request) const {
+ DCHECK(CalledOnValidThread());
+ return OnCanThrottleRequest(request);
+}
+
} // namespace net
« no previous file with comments | « net/base/network_delegate.h ('k') | net/proxy/network_delegate_error_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698