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

Unified Diff: net/url_request/url_request_filter.cc

Issue 3859003: FBTF: Even more ctor/virtual deinlining. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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_filter.cc
diff --git a/net/url_request/url_request_filter.cc b/net/url_request/url_request_filter.cc
index bb947f9bb0214e5f083740d0611608cf98a63fd7..44863e3c0db8d3fe3bf67655ad0af1d3dd90c900 100644
--- a/net/url_request/url_request_filter.cc
+++ b/net/url_request/url_request_filter.cc
@@ -24,6 +24,8 @@ URLRequestJob* URLRequestFilter::Factory(URLRequest* request,
return GetInstance()->FindRequestHandler(request, scheme);
}
+URLRequestFilter::~URLRequestFilter() {}
+
void URLRequestFilter::AddHostnameHandler(const std::string& scheme,
const std::string& hostname, URLRequest::ProtocolFactory* factory) {
hostname_handler_map_[make_pair(scheme, hostname)] = factory;
@@ -108,6 +110,8 @@ void URLRequestFilter::ClearHandlers() {
hit_count_ = 0;
}
+URLRequestFilter::URLRequestFilter() : hit_count_(0) { }
+
URLRequestJob* URLRequestFilter::FindRequestHandler(URLRequest* request,
const std::string& scheme) {
URLRequestJob* job = NULL;

Powered by Google App Engine
This is Rietveld 408576698