chromium/third_party/cros_system_api/dbus/swap_management/dbus-constants.h

// Copyright 2022 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SYSTEM_API_DBUS_SWAP_MANAGEMENT_DBUS_CONSTANTS_H_
#define SYSTEM_API_DBUS_SWAP_MANAGEMENT_DBUS_CONSTANTS_H_

namespace swap_management {

constexpr char kSwapManagementInterface[] =;
constexpr char kSwapManagementServicePath[] =;
constexpr char kSwapManagementServiceName[] =;

// Methods.
constexpr char kSwapStart[] =;
constexpr char kSwapStop[] =;
constexpr char kSwapRestart[] =;
constexpr char SwapSetSize[] =;
constexpr char kSwapSetSwappiness[] =;
constexpr char kSwapStatus[] =;
constexpr char kSwapZramEnableWriteback[] =;
constexpr char kSwapZramSetWritebackLimit[] =;
constexpr char kSwapZramMarkIdle[] =;
constexpr char kSwapZramWriteback[] =;
constexpr char kMGLRUSetEnable[] =;
constexpr char kSwapZramRecompression[] =;
constexpr char kSwapZramSetRecompAlgorithms[] =;
constexpr char kReclaimAllProcesses[] =;

// ZramWritebackMode contains the allowed modes of operation
// for zram writeback. The definition is in:
// src/platform2/swap_management/dbus_binding/org.chromium.SwapManagement.xml
enum ZramWritebackMode {};

enum ZramRecompressionMode {};

}  // namespace swap_management

#endif  // SYSTEM_API_DBUS_SWAP_MANAGEMENT_DBUS_CONSTANTS_H_