summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/service_process.mojom
blob: ccec7d7a20df2706a65c282c695c79d4ba1c5958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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();
};