Home
last modified time | relevance | path

Searched refs:extensionPort (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/ui/src/controller/
Dapp_controller.ts29 private extensionPort: MessagePort; property in AppController
31 constructor(extensionPort: MessagePort) {
33 this.extensionPort = extensionPort;
47 {app: globals, extensionPort: this.extensionPort}),
Dchrome_proxy_record_controller.ts49 private extensionPort: MessagePort; property in ChromeExtensionConsumerPort
51 constructor(extensionPort: MessagePort, consumer: Consumer) {
53 this.extensionPort = extensionPort;
54 this.extensionPort.onmessage = this.onExtensionMessage.bind(this);
84 this.extensionPort.postMessage({method, requestData: buffer});
Dindex.ts27 extensionPort: MessagePort;
45 const extensionPort = data.extensionPort; constant
51 globals.initialize(new AppController(extensionPort), frontend);
Drecord_controller.ts539 private extensionPort: MessagePort; property in RecordController
552 constructor(args: {app: App, extensionPort: MessagePort}) {
556 this.extensionPort = args.extensionPort;
716 new ChromeExtensionConsumerPort(this.extensionPort, this);
Drecord_controller_jsdomtest.ts97 const controller = new RecordController({app, extensionPort: m.port1});
/external/perfetto/ui/src/frontend/
Dindex.ts207 extensionPort: chrome.runtime.Port) {
208 extensionPort.postMessage({method: 'GetCategories'});
239 extensionPort: extensionLocalChannel.port1,
266 const extensionPort = window.chrome && chrome.runtime ? constant
270 setExtensionAvailability(extensionPort !== undefined);
272 if (extensionPort) {
273 extensionPort.onDisconnect.addListener(_ => {
279 extensionPort.onMessage.addListener(
284 fetchChromeTracingCategoriesFromExtension(extensionPort);
298 if (extensionPort) extensionPort.postMessage(data);