This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhuyujia-webhopper/collector/adg-linux/gen/chrome/common/renderer_configuration.mojom.externs.js
little_stone bd2d50cf35 code update
2022-05-05 20:41:28 +08:00

52 lines
1.3 KiB
JavaScript
Executable File

// 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.
/** @const */
let chrome = {};
/** @const */
chrome.mojom = {};
/** @implements {mojo.InterfacePtr} */
chrome.mojom.RendererConfigurationPtr = class {
/**
* @param { !boolean } isIncognitoProcess
*/
setInitialConfiguration(isIncognitoProcess) {}
/**
* @param { !contentSettings.mojom.RendererContentSettingRules } rules
*/
setContentSettingRules(rules) {}
/**
* @param { !string } trialName
* @param { !string } groupName
*/
setFieldTrialGroup(trialName, groupName) {}
};
/**
* @const
* @type { mojo.Interface };
*/
chrome.mojom.RendererConfiguration;
chrome.mojom.RendererConfiguration_SetInitialConfiguration_Params = class {
constructor() {
/** @type { !boolean } */
this.isIncognitoProcess;
}
};
chrome.mojom.RendererConfiguration_SetContentSettingRules_Params = class {
constructor() {
/** @type { !contentSettings.mojom.RendererContentSettingRules } */
this.rules;
}
};
chrome.mojom.RendererConfiguration_SetFieldTrialGroup_Params = class {
constructor() {
/** @type { !string } */
this.trialName;
/** @type { !string } */
this.groupName;
}
};