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

Unified Diff: net/base/network_delegate_impl.cc

Issue 953633002: Remove net::Filter direct dependency on IsSupportedMimeType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use NetworkDelegate::IsSupportedMimeType in net::Filter::FixupEncodingTypes Created 5 years, 10 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_impl.h ('k') | net/filter/filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_delegate_impl.cc
diff --git a/net/base/network_delegate_impl.cc b/net/base/network_delegate_impl.cc
index f10bee300ee4520aab6f8d1cb2adf7ee2b818113..129026787535d5c4ec5922ab816267b424c1ed6f 100644
--- a/net/base/network_delegate_impl.cc
+++ b/net/base/network_delegate_impl.cc
@@ -112,4 +112,11 @@ bool NetworkDelegateImpl::OnCancelURLRequestWithPolicyViolatingReferrerHeader(
return false;
}
+bool NetworkDelegateImpl::OnIsSupportedMimeType(
+ const std::string& mime_type) const {
+ // ShellNetworkDelegate and ChromeNetworkDelegate provide actual
+ // implementations.
+ return false;
+}
+
} // namespace net
« no previous file with comments | « net/base/network_delegate_impl.h ('k') | net/filter/filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698