blob: a25c2604acf276379fc4502962b56d43beb10c0d [file] [log] [blame]
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SYSTEM_API_DBUS_DLCSERVICE_DBUS_CONSTANTS_H_
#define SYSTEM_API_DBUS_DLCSERVICE_DBUS_CONSTANTS_H_
namespace dlcservice {
constexpr char kDlcServiceInterface[] = "org.chromium.DlcServiceInterface";
constexpr char kDlcServiceServicePath[] = "/org/chromium/DlcService";
constexpr char kDlcServiceServiceName[] = "org.chromium.DlcService";
constexpr char kInstallMethod[] = "InstallDlc";
constexpr char kInstallDlcMethod[] = "InstallDlc";
constexpr char kUninstallMethod[] = "Uninstall";
constexpr char kPurgeMethod[] = "Purge";
constexpr char kGetDlcStateMethod[] = "GetDlcState";
constexpr char kGetExistingDlcsMethod[] = "GetExistingDlcs";
constexpr char kDlcStateChangedSignal[] = "DlcStateChanged";
// Error Codes from dlcservice.
constexpr char kErrorNone[] = "org.chromium.DlcServiceInterface.NONE";
constexpr char kErrorInternal[] = "org.chromium.DlcServiceInterface.INTERNAL";
constexpr char kErrorBusy[] = "org.chromium.DlcServiceInterface.BUSY";
constexpr char kErrorNeedReboot[] =
"org.chromium.DlcServiceInterface.NEED_REBOOT";
constexpr char kErrorInvalidDlc[] =
"org.chromium.DlcServiceInterface.INVALID_DLC";
constexpr char kErrorAllocation[] =
"org.chromium.DlcServiceInterface.ALLOCATION";
constexpr char kErrorNoImageFound[] =
"org.chromium.DlcServiceInterface.NO_IMAGE_FOUND";
} // namespace dlcservice
#endif // SYSTEM_API_DBUS_DLCSERVICE_DBUS_CONSTANTS_H_