9b166b3ed4
* feat: support app#login event for utility process net requests * chore: address review feedback * GlobalRequestID: Avoid unwanted inlining and narrowing int conversions Refs https://chromium-review.googlesource.com/c/chromium/src/+/5702737
26 lines
924 B
Text
26 lines
924 B
Text
// Copyright (c) 2022 Microsoft, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
module node.mojom;
|
|
|
|
import "mojo/public/mojom/base/file_path.mojom";
|
|
import "sandbox/policy/mojom/sandbox.mojom";
|
|
import "services/network/public/mojom/host_resolver.mojom";
|
|
import "services/network/public/mojom/url_loader_factory.mojom";
|
|
import "third_party/blink/public/mojom/messaging/message_port_descriptor.mojom";
|
|
|
|
struct NodeServiceParams {
|
|
mojo_base.mojom.FilePath script;
|
|
array<string> args;
|
|
array<string> exec_args;
|
|
blink.mojom.MessagePortDescriptor port;
|
|
pending_remote<network.mojom.URLLoaderFactory> url_loader_factory;
|
|
pending_remote<network.mojom.HostResolver> host_resolver;
|
|
bool use_network_observer_from_url_loader_factory = false;
|
|
};
|
|
|
|
[ServiceSandbox=sandbox.mojom.Sandbox.kNoSandbox]
|
|
interface NodeService {
|
|
Initialize(NodeServiceParams params);
|
|
};
|