[email protected] | 381162b | 2010-01-28 17:29:35 | [diff] [blame] | 1 | // Copyright (c) 2010 The Chromium 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 | // Constants used for the Processes API. |
| 6 | |
| 7 | #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESSES_API_CONSTANTS_H_ |
| 8 | #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESSES_API_CONSTANTS_H_ |
[email protected] | 32b76ef | 2010-07-26 23:08:24 | [diff] [blame] | 9 | #pragma once |
[email protected] | 381162b | 2010-01-28 17:29:35 | [diff] [blame] | 10 | |
| 11 | namespace extension_processes_api_constants { |
| 12 | |
[email protected] | 8a661f8 | 2010-10-19 21:47:11 | [diff] [blame] | 13 | // Keys used in serializing process data & events. |
| 14 | extern const char kCpuKey[]; |
[email protected] | 285b32f | 2010-08-13 06:23:43 | [diff] [blame] | 15 | extern const char kIdKey[]; |
[email protected] | 8a661f8 | 2010-10-19 21:47:11 | [diff] [blame] | 16 | extern const char kNetworkKey[]; |
| 17 | extern const char kPrivateMemoryKey[]; |
| 18 | extern const char kProcessesKey[]; |
| 19 | extern const char kSharedMemoryKey[]; |
| 20 | extern const char kTypeKey[]; |
| 21 | |
| 22 | extern const char kProcessTypeBrowser[]; |
| 23 | extern const char kProcessTypeExtension[]; |
| 24 | extern const char kProcessTypeGPU[]; |
| 25 | extern const char kProcessTypeNacl[]; |
| 26 | extern const char kProcessTypeNotification[]; |
| 27 | extern const char kProcessTypeOther[]; |
| 28 | extern const char kProcessTypePlugin[]; |
| 29 | extern const char kProcessTypeRenderer[]; |
| 30 | extern const char kProcessTypeUtility[]; |
| 31 | extern const char kProcessTypeWorker[]; |
| 32 | |
| 33 | extern const char kOnUpdated[]; |
[email protected] | 381162b | 2010-01-28 17:29:35 | [diff] [blame] | 34 | |
| 35 | }; // namespace extension_processes_api_constants |
| 36 | |
| 37 | #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESSES_API_CONSTANTS_H_ |