Commit 70d03e1a authored by Kenichi Ishibashi's avatar Kenichi Ishibashi Committed by Commit Bot

Update comment on ServiceWorkerSubresourceLoaderFactory::Create()

In production, the loader factory runs on a background thread.

Change-Id: If5261b012d96b714135118a2157092cb7fa983f2
Bug: N/A
Reviewed-on: https://chromium-review.googlesource.com/c/1256396
Commit-Queue: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596132}
parent 21bafcb2
......@@ -182,9 +182,8 @@ class CONTENT_EXPORT ServiceWorkerSubresourceLoaderFactory
// default URLLoaderFactory for network fallback. This should be the
// URLLoaderFactory that directly goes to network without going through
// any custom URLLoader factories.
// |task_runner| is the runner where this loader runs. (We need to pass
// this around because calling base::SequencedTaskRunnerHandle is
// prohibited in the renderer :()
// |task_runner| is the runner where this loader runs. In production it runs,
// on a background thread.
static void Create(
scoped_refptr<ControllerServiceWorkerConnector> controller_connector,
scoped_refptr<network::SharedURLLoaderFactory> fallback_factory,
......
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