naiveproxy/content/browser/process_internals/process_internals.mojom

18 lines
624 B
Plaintext
Raw Normal View History

2018-08-11 08:35:24 +03:00
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module mojom;
// Interface used by chrome://process-internals to query data from the
// browser process.
interface ProcessInternalsHandler {
// Returns a string containing the currently active isolation modes.
GetIsolationMode() => (string mode);
// Returns a list of isolated origins in their serialized to string
// format. This avoids duplicating serialization code to JavaScript.
GetIsolatedOrigins() => (array<string> isolated_origins);
};