1 // Copyright 2015 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 #ifndef SYSTEM_API_DBUS_LOGIN_MANAGER_DBUS_CONSTANTS_H_ 6 #define SYSTEM_API_DBUS_LOGIN_MANAGER_DBUS_CONSTANTS_H_ 7 8 namespace login_manager { 9 const char kSessionManagerInterface[] = "org.chromium.SessionManagerInterface"; 10 const char kSessionManagerServicePath[] = "/org/chromium/SessionManager"; 11 const char kSessionManagerServiceName[] = "org.chromium.SessionManager"; 12 // Methods 13 const char kSessionManagerEmitLoginPromptReady[] = "EmitLoginPromptReady"; 14 const char kSessionManagerEmitLoginPromptVisible[] = "EmitLoginPromptVisible"; 15 const char kSessionManagerStartSession[] = "StartSession"; 16 const char kSessionManagerStopSession[] = "StopSession"; 17 const char kSessionManagerRestartJob[] = "RestartJob"; 18 const char kSessionManagerSetOwnerKey[] = "SetOwnerKey"; 19 const char kSessionManagerUnwhitelist[] = "Unwhitelist"; 20 const char kSessionManagerCheckWhitelist[] = "CheckWhitelist"; 21 const char kSessionManagerEnumerateWhitelisted[] = "EnumerateWhitelisted"; 22 const char kSessionManagerWhitelist[] = "Whitelist"; 23 const char kSessionManagerStoreProperty[] = "StoreProperty"; 24 const char kSessionManagerRetrieveProperty[] = "RetrieveProperty"; 25 const char kSessionManagerStorePolicy[] = "StorePolicy"; 26 const char kSessionManagerRetrievePolicy[] = "RetrievePolicy"; 27 const char kSessionManagerStorePolicyForUser[] = "StorePolicyForUser"; 28 const char kSessionManagerRetrievePolicyForUser[] = "RetrievePolicyForUser"; 29 const char kSessionManagerStoreDeviceLocalAccountPolicy[] = 30 "StoreDeviceLocalAccountPolicy"; 31 const char kSessionManagerRetrieveDeviceLocalAccountPolicy[] = 32 "RetrieveDeviceLocalAccountPolicy"; 33 const char kSessionManagerRetrieveSessionState[] = "RetrieveSessionState"; 34 const char kSessionManagerRetrieveActiveSessions[] = "RetrieveActiveSessions"; 35 const char kSessionManagerStartSessionService[] = "StartSessionService"; 36 const char kSessionManagerStopSessionService[] = "StopSessionService"; 37 const char kSessionManagerStartDeviceWipe[] = "StartDeviceWipe"; 38 const char kSessionManagerHandleSupervisedUserCreationStarting[] = 39 "HandleSupervisedUserCreationStarting"; 40 const char kSessionManagerHandleSupervisedUserCreationFinished[] = 41 "HandleSupervisedUserCreationFinished"; 42 const char kSessionManagerLockScreen[] = "LockScreen"; 43 const char kSessionManagerHandleLockScreenShown[] = "HandleLockScreenShown"; 44 const char kSessionManagerHandleLockScreenDismissed[] = 45 "HandleLockScreenDismissed"; 46 const char kSessionManagerHandleLivenessConfirmed[] = "HandleLivenessConfirmed"; 47 const char kSessionManagerSetFlagsForUser[] = "SetFlagsForUser"; 48 const char kSessionManagerGetServerBackedStateKeys[] = 49 "GetServerBackedStateKeys"; 50 const char kSessionManagerInitMachineInfo[] = "InitMachineInfo"; 51 const char kSessionManagerCheckArcAvailability[] = "CheckArcAvailability"; 52 const char kSessionManagerStartArcInstance[] = "StartArcInstance"; 53 const char kSessionManagerStopArcInstance[] = "StopArcInstance"; 54 // Signals 55 const char kLoginPromptVisibleSignal[] = "LoginPromptVisible"; 56 const char kSessionStateChangedSignal[] = "SessionStateChanged"; 57 // ScreenLock signals. 58 const char kScreenIsLockedSignal[] = "ScreenIsLocked"; 59 const char kScreenIsUnlockedSignal[] = "ScreenIsUnlocked"; 60 // Ownership API signals. 61 const char kOwnerKeySetSignal[] = "SetOwnerKeyComplete"; 62 const char kPropertyChangeCompleteSignal[] = "PropertyChangeComplete"; 63 // ARC instance signals. 64 const char kArcInstanceStopped[] = "ArcInstanceStopped"; 65 const char kArcInstanceRebooted[] = "ArcInstanceRebooted"; 66 } // namespace login_manager 67 68 #endif // SYSTEM_API_DBUS_LOGIN_MANAGER_DBUS_CONSTANTS_H_ 69