Alex Vakulenko | 8e34d39 | 2014-04-29 11:02:56 -0700 | [diff] [blame] | 1 | // Copyright 2014 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 BUFFET_DEVICE_REGISTRATION_STORAGE_KEYS_H_ |
| 6 | #define BUFFET_DEVICE_REGISTRATION_STORAGE_KEYS_H_ |
| 7 | |
| 8 | // These are the keys used to identify specific device registration information |
| 9 | // being saved to a storage. Used mostly internally by DeviceRegistrationInfo |
| 10 | // but also exposed so that tests can access them. |
| 11 | namespace buffet { |
| 12 | namespace storage_keys { |
| 13 | |
| 14 | // Persistent keys |
| 15 | extern const char kClientId[]; |
| 16 | extern const char kClientSecret[]; |
| 17 | extern const char kApiKey[]; |
| 18 | extern const char kRefreshToken[]; |
| 19 | extern const char kDeviceId[]; |
| 20 | extern const char kOAuthURL[]; |
| 21 | extern const char kServiceURL[]; |
| 22 | extern const char kRobotAccount[]; |
| 23 | // Transient keys |
| 24 | extern const char kDeviceKind[]; |
| 25 | extern const char kSystemName[]; |
| 26 | extern const char kDisplayName[]; |
| 27 | |
| 28 | } // namespace storage_keys |
| 29 | } // namespace buffet |
| 30 | |
| 31 | #endif // BUFFET_DEVICE_REGISTRATION_STORAGE_KEYS_H_ |