| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 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_ | |
| 9 | |
| 10 namespace extension_processes_api_constants { | |
| 11 | |
| 12 // Process object properties. | |
| 13 extern const char kCpuKey[]; | |
| 14 extern const char kCssCacheKey[]; | |
| 15 extern const char kFPSKey[]; | |
| 16 extern const char kIdKey[]; | |
| 17 extern const char kImageCacheKey[]; | |
| 18 extern const char kJsMemoryAllocatedKey[]; | |
| 19 extern const char kJsMemoryUsedKey[]; | |
| 20 extern const char kNetworkKey[]; | |
| 21 extern const char kOsProcessIdKey[]; | |
| 22 extern const char kPrivateMemoryKey[]; | |
| 23 extern const char kProcessesKey[]; | |
| 24 extern const char kProfileKey[]; | |
| 25 extern const char kScriptCacheKey[]; | |
| 26 extern const char kSqliteMemoryKey[]; | |
| 27 extern const char kTabsListKey[]; | |
| 28 extern const char kTypeKey[]; | |
| 29 | |
| 30 // Process types. | |
| 31 extern const char kProcessTypeBrowser[]; | |
| 32 extern const char kProcessTypeExtension[]; | |
| 33 extern const char kProcessTypeGPU[]; | |
| 34 extern const char kProcessTypeNacl[]; | |
| 35 extern const char kProcessTypeNotification[]; | |
| 36 extern const char kProcessTypeOther[]; | |
| 37 extern const char kProcessTypePlugin[]; | |
| 38 extern const char kProcessTypeRenderer[]; | |
| 39 extern const char kProcessTypeUtility[]; | |
| 40 extern const char kProcessTypeWorker[]; | |
| 41 | |
| 42 // Cache object properties. | |
| 43 extern const char kCacheLiveSize[]; | |
| 44 extern const char kCacheSize[]; | |
| 45 | |
| 46 // Event names. | |
| 47 extern const char kOnCreated[]; | |
| 48 extern const char kOnExited[]; | |
| 49 extern const char kOnUnresponsive[]; | |
| 50 extern const char kOnUpdated[]; | |
| 51 extern const char kOnUpdatedWithMemory[]; | |
| 52 | |
| 53 // Error strings. | |
| 54 extern const char kExtensionNotSupported[]; | |
| 55 extern const char kProcessNotFound[]; | |
| 56 | |
| 57 }; // namespace extension_processes_api_constants | |
| 58 | |
| 59 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESSES_API_CONSTANTS_H_ | |
| OLD | NEW |