naiveproxy/chrome/common/service_process.mojom
2018-02-02 05:49:39 -05:00

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();
};