Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "service_constants.h" | 5 #include "service_constants.h" |
| 6 | 6 |
| 7 GQuark chromeos_login_error_quark() { | 7 GQuark chromeos_login_error_quark() { |
| 8 return g_quark_from_static_string("chromeos-login-error-quark"); | 8 return g_quark_from_static_string("chromeos-login-error-quark"); |
| 9 } | 9 } |
| 10 | 10 |
| 11 namespace cryptohome { | 11 namespace cryptohome { |
| 12 const char *kCryptohomeInterface = "org.chromium.CryptohomeInterface"; | 12 const char *kCryptohomeInterface = "org.chromium.CryptohomeInterface"; |
| 13 const char *kCryptohomeServiceName = "org.chromium.Cryptohome"; | 13 const char *kCryptohomeServiceName = "org.chromium.Cryptohome"; |
| 14 const char *kCryptohomeServicePath = "/org/chromium/Cryptohome"; | 14 const char *kCryptohomeServicePath = "/org/chromium/Cryptohome"; |
| 15 // Methods | 15 // Methods |
| 16 const char *kCryptohomeCheckKey = "CheckKey"; | 16 const char *kCryptohomeCheckKey = "CheckKey"; |
| 17 const char *kCryptohomeMigrateKey = "MigrateKey"; | |
|
mschilder
2010/05/27 04:20:18
Should these be const char * const? Now you alloca
| |
| 18 const char *kCryptohomeRemove = "Remove"; | |
| 19 const char *kCryptohomeGetSystemSalt = "GetSystemSalt"; | |
| 17 const char *kCryptohomeIsMounted = "IsMounted"; | 20 const char *kCryptohomeIsMounted = "IsMounted"; |
| 18 const char *kCryptohomeMount = "Mount"; | 21 const char *kCryptohomeMount = "Mount"; |
| 19 const char *kCryptohomeUnmount = "Unmount"; | 22 const char *kCryptohomeUnmount = "Unmount"; |
| 20 } // namespace cryptohome | 23 } // namespace cryptohome |
| 21 | 24 |
| 22 namespace login_manager { | 25 namespace login_manager { |
| 23 const char *kSessionManagerInterface = "org.chromium.SessionManagerInterface"; | 26 const char *kSessionManagerInterface = "org.chromium.SessionManagerInterface"; |
| 24 const char *kSessionManagerServiceName = "org.chromium.SessionManager"; | 27 const char *kSessionManagerServiceName = "org.chromium.SessionManager"; |
| 25 const char *kSessionManagerServicePath = "/org/chromium/SessionManager"; | 28 const char *kSessionManagerServicePath = "/org/chromium/SessionManager"; |
| 26 // Methods | 29 // Methods |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 45 const char* kUnlockScreenFailedSignal = "UnlockScreenFailed"; | 48 const char* kUnlockScreenFailedSignal = "UnlockScreenFailed"; |
| 46 } // namespace chromium | 49 } // namespace chromium |
| 47 | 50 |
| 48 namespace power_manager { | 51 namespace power_manager { |
| 49 const char* kPowerManagerInterface = "org.chromium.PowerManager"; | 52 const char* kPowerManagerInterface = "org.chromium.PowerManager"; |
| 50 const char* kRequestLockScreenSignal = "RequestLockScreen"; | 53 const char* kRequestLockScreenSignal = "RequestLockScreen"; |
| 51 const char* kRequestUnlockScreenSignal = "RequestUnlockScreen"; | 54 const char* kRequestUnlockScreenSignal = "RequestUnlockScreen"; |
| 52 const char* kScreenIsLockedSignal = "ScreenIsLocked"; | 55 const char* kScreenIsLockedSignal = "ScreenIsLocked"; |
| 53 const char* kScreenIsUnlockedSignal = "ScreenIsUnlocked"; | 56 const char* kScreenIsUnlockedSignal = "ScreenIsUnlocked"; |
| 54 } // namespace screen_lock | 57 } // namespace screen_lock |
| OLD | NEW |