Commit 09d4e9c4 authored by Alex Gough's avatar Alex Gough Committed by Commit Bot

Use ReadOnlyFile in web bundle parser

This is only read from: https://source.chromium.org/chromium/chromium/src/+/master:components/web_package/web_bundle_parser_factory.cc;drc=0e22286ee95d2bd711f81d73f1178343fbacc890;l=29

Bug: 1130762
Change-Id: I1859ab3cf91f8131190883479735fd1ca9acb608
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2464205Reviewed-by: default avatarKunihiko Sakamoto <ksakamoto@chromium.org>
Commit-Queue: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#817540}
parent 43b27292
......@@ -4,7 +4,7 @@
module web_package.mojom;
import "mojo/public/mojom/base/file.mojom";
import "mojo/public/mojom/base/read_only_file.mojom";
import "url/mojom/url.mojom";
// Factory interface to create WebBundleParser for the passed |file|
......@@ -12,7 +12,7 @@ import "url/mojom/url.mojom";
interface WebBundleParserFactory {
// Constructs a parser for the passed |file|.
GetParserForFile(pending_receiver<WebBundleParser> receiver,
mojo_base.mojom.File file);
mojo_base.mojom.ReadOnlyFile file);
// Constructs a parser for the passed |data_source|.
GetParserForDataSource(pending_receiver<WebBundleParser> receiver,
......
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