Commit b369e2e6 authored by Tarun Bansal's avatar Tarun Bansal Committed by Commit Bot

Add comments for a method in NoStatePrefetchBrowserTest

Change-Id: If8307e56a7efee27c5496d07c5984344d10b440c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1566457Reviewed-by: default avatarRyan Sturm <ryansturm@chromium.org>
Commit-Queue: Tarun Bansal <tbansal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#650486}
parent 1a386cd2
......@@ -137,6 +137,14 @@ class NoStatePrefetchBrowserTest
}
protected:
// Loads kPrefetchLoaderPath and specifies |target_url| as a query param. The
// |loader_url| looks something like:
// http://127.0.0.1:port_number/prerender/prefetch_loader.html?replace_text=\
// UkVQTEFDRV9XSVRIX1BSRUZFVENIX1VSTA==:aHR0cDovL3d3dy52dlci5odG1s.
// When the embedded test server receives the request, it uses the specified
// query params to replace the "REPLACE_WITH_PREFETCH_URL" string in the HTML
// response with |target_url|. See method UpdateReplacedText() from embedded
// test server.
std::unique_ptr<TestPrerender> PrefetchFromURL(
const GURL& target_url,
FinalStatus expected_final_status) {
......
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