blob: d7946bc1c16f8192d47e50967ee898bde0429b71 [file] [log] [blame]
Alex Vakulenko8e34d392014-04-29 11:02:56 -07001// 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.
11namespace buffet {
12namespace storage_keys {
13
14// Persistent keys
15extern const char kClientId[];
16extern const char kClientSecret[];
17extern const char kApiKey[];
18extern const char kRefreshToken[];
19extern const char kDeviceId[];
20extern const char kOAuthURL[];
21extern const char kServiceURL[];
22extern const char kRobotAccount[];
23// Transient keys
24extern const char kDeviceKind[];
Anton Muhin9e19cdd2014-10-20 13:55:04 +040025extern const char kName[];
Alex Vakulenko8e34d392014-04-29 11:02:56 -070026extern const char kDisplayName[];
Vitaly Bukad3eb19c2014-11-21 13:39:43 -080027extern const char kDescription[];
28extern const char kLocation[];
Alex Vakulenko8e34d392014-04-29 11:02:56 -070029
30} // namespace storage_keys
31} // namespace buffet
32
33#endif // BUFFET_DEVICE_REGISTRATION_STORAGE_KEYS_H_