• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Constants for the D-Bus API exposed by the diagnosticsd daemon. Normally the
6 // consumer of this API is the browser.
7 
8 #ifndef SYSTEM_API_DBUS_DIAGNOSTICSD_DBUS_CONSTANTS_H_
9 #define SYSTEM_API_DBUS_DIAGNOSTICSD_DBUS_CONSTANTS_H_
10 
11 namespace diagnostics {
12 
13 constexpr char kDiagnosticsdServiceInterface[] =
14     "org.chromium.DiagnosticsdInterface";
15 constexpr char kDiagnosticsdServicePath[] = "/org/chromium/Diagnosticsd";
16 constexpr char kDiagnosticsdServiceName[] = "org.chromium.Diagnosticsd";
17 
18 constexpr char kDiagnosticsdBootstrapMojoConnectionMethod[] =
19     "BootstrapMojoConnection";
20 
21 // Token used for the Mojo connection pipe.
22 constexpr char kDiagnosticsdMojoConnectionChannelToken[] = "diagnosticsd";
23 
24 }  // namespace diagnostics
25 
26 #endif  // SYSTEM_API_DBUS_DIAGNOSTICSD_DBUS_CONSTANTS_H_
27