naiveproxy/chrome/common/service_process.mojom

22 lines
642 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
// 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();
};