Commit 7af21b9b authored by wtc@chromium.org's avatar wtc@chromium.org

Update stale comments that still refer to URLRequestInetJob.

R=darin@chromium.org,willchan@chromium.org
BUG=271572
TEST=none

Review URL: https://codereview.chromium.org/70103018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235665 0039d316-1c4b-4281-b951-d872f2087c98
parent 9d87a205
......@@ -95,9 +95,8 @@ void URLRequestFilter::RemoveHostnameHandler(const std::string& scheme,
delete iter->second;
hostname_handler_map_.erase(iter);
// Note that we don't unregister from the URLRequest ProtocolFactory as
// this would left no protocol factory for the scheme.
// URLRequestFilter::Factory will keep forwarding the requests to the
// URLRequestInetJob.
// this would leave no protocol factory for the remaining hostname and URL
// handlers.
}
bool URLRequestFilter::AddUrlHandler(
......@@ -135,9 +134,8 @@ void URLRequestFilter::RemoveUrlHandler(const GURL& url) {
delete iter->second;
url_handler_map_.erase(iter);
// Note that we don't unregister from the URLRequest ProtocolFactory as
// this would left no protocol factory for the scheme.
// URLRequestFilter::Factory will keep forwarding the requests to the
// URLRequestInetJob.
// this would leave no protocol factory for the remaining hostname and URL
// handlers.
}
void URLRequestFilter::ClearHandlers() {
......
......@@ -12,9 +12,9 @@
// GURL("http://foo.com/"),
// &URLRequestCustomJob::Factory);
//
// If URLRequestFilter::Factory can't find a handle for the request, it passes
// it through to URLRequestInetJob::Factory and lets the default network stack
// handle it.
// If URLRequestFilter::Factory can't find a handler for the request, it
// returns null to URLRequestJobManager and lets a built-in protocol factory
// handle the request.
#ifndef NET_URL_REQUEST_URL_REQUEST_FILTER_H_
#define NET_URL_REQUEST_URL_REQUEST_FILTER_H_
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment