mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
22 lines
642 B
Plaintext
22 lines
642 B
Plaintext
|
// Copyright 2017 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 chrome.mojom;
|
||
|
|
||
|
// A control interface for a service process
|
||
|
// (https://www.chromium.org/developers/design-documents/service-processes).
|
||
|
interface ServiceProcess {
|
||
|
// A message for ensuring the connection is established.
|
||
|
Hello() => ();
|
||
|
|
||
|
// Gets serialized UMA histograms.
|
||
|
GetHistograms() => (array<string> histograms);
|
||
|
|
||
|
// Tell the service process that an update is available.
|
||
|
UpdateAvailable();
|
||
|
|
||
|
// Tell the service process to shutdown.
|
||
|
ShutDown();
|
||
|
};
|