diff options
Diffstat (limited to 'chromium/chrome/services/diagnosticsd/public/mojom/diagnosticsd.mojom')
-rw-r--r-- | chromium/chrome/services/diagnosticsd/public/mojom/diagnosticsd.mojom | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/chromium/chrome/services/diagnosticsd/public/mojom/diagnosticsd.mojom b/chromium/chrome/services/diagnosticsd/public/mojom/diagnosticsd.mojom new file mode 100644 index 00000000000..3f992b87e21 --- /dev/null +++ b/chromium/chrome/services/diagnosticsd/public/mojom/diagnosticsd.mojom @@ -0,0 +1,29 @@ +// Copyright 2018 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. + +// API exposed by the diagnosticsd daemon. Normally the consumer of this API is +// the browser. + +// NOTE: This mojom should be kept in sync with the copy in Chromium OS's repo +// in src/platform2/diagnostics/mojo/. + +module chromeos.diagnosticsd.mojom; + +// Factory interface exposed by the diagnosticsd daemon, which allows both +// endpoints (the diagnosticsd and the browser) to exchange with their +// interfaces (DiagnosticsdService and DiagnosticsdClient correspondingly). +interface DiagnosticsdServiceFactory { + // Returns an interface to DiagnosticsdService in response to the passed + // interface to DiagnosticsdClient. + GetService@0(DiagnosticsdService& service, DiagnosticsdClient client) => (); +}; + +// Interface exposed by the diagnosticsd daemon. +interface DiagnosticsdService { +}; + +// Interface exposed by the consumer of DiagnosticsdService. In production this +// is the browser. +interface DiagnosticsdClient { +}; |