Commit 363b1441 authored by Arthur Hemery's avatar Arthur Hemery Committed by Commit Bot

Remove PlzNavigate mentions in components/

This CL removes all of the references to PlzNavigate in the comments of
components/.

Change-Id: I5ab774c0c1f5c5ed4d803f64c08b8611404e8073
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1729084Reviewed-by: default avatarBartosz Fabianowski <bartfab@chromium.org>
Commit-Queue: Arthur Hemery <ahemery@chromium.org>
Cr-Commit-Position: refs/heads/master@{#683952}
parent 70b5e76b
......@@ -35,8 +35,8 @@ content::NavigationThrottle::ThrottleCheckResult
PolicyBlacklistNavigationThrottle::WillStartRequest() {
GURL url = navigation_handle()->GetURL();
// Ignore blob scheme because PlzNavigate may use it to deliver navigation
// responses to the renderer process.
// Ignore blob scheme because we may use it to deliver navigation responses
// to the renderer process.
if (url.SchemeIs(url::kBlobScheme))
return PROCEED;
......
......@@ -492,7 +492,7 @@ void URLBlacklistManager::SetBlacklist(
bool URLBlacklistManager::IsURLBlocked(const GURL& url) const {
DCHECK(ui_task_runner_->RunsTasksInCurrentSequence());
// Ignore blob scheme for two reasons:
// 1) PlzNavigate uses it to deliver the response to the renderer.
// 1) Its used to deliver the response to the renderer.
// 2) A whitelisted page can use blob URLs internally.
return !url.SchemeIs(url::kBlobScheme) && blacklist_->IsURLBlocked(url);
}
......
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