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.
5 // Constants used for the Processes API.
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_CONSTANTS_H_
10 namespace extensions
{
12 namespace processes_api_constants
{
14 // Process object properties.
15 extern const char kCpuKey
[];
16 extern const char kCssCacheKey
[];
17 extern const char kFPSKey
[];
18 extern const char kIdKey
[];
19 extern const char kImageCacheKey
[];
20 extern const char kJsMemoryAllocatedKey
[];
21 extern const char kJsMemoryUsedKey
[];
22 extern const char kNaClDebugPortKey
[];
23 extern const char kNetworkKey
[];
24 extern const char kOsProcessIdKey
[];
25 extern const char kPrivateMemoryKey
[];
26 extern const char kProfileKey
[];
27 extern const char kScriptCacheKey
[];
28 extern const char kSqliteMemoryKey
[];
29 extern const char kTabsListKey
[];
30 extern const char kTitleKey
[];
31 extern const char kTypeKey
[];
34 extern const char kProcessTypeBrowser
[];
35 extern const char kProcessTypeExtension
[];
36 extern const char kProcessTypeGPU
[];
37 extern const char kProcessTypeNacl
[];
38 extern const char kProcessTypeNotification
[];
39 extern const char kProcessTypeOther
[];
40 extern const char kProcessTypePlugin
[];
41 extern const char kProcessTypeRenderer
[];
42 extern const char kProcessTypeUtility
[];
43 extern const char kProcessTypeWorker
[];
45 // Cache object properties.
46 extern const char kCacheLiveSize
[];
47 extern const char kCacheSize
[];
50 extern const char kOnCreated
[];
51 extern const char kOnExited
[];
52 extern const char kOnUnresponsive
[];
53 extern const char kOnUpdated
[];
54 extern const char kOnUpdatedWithMemory
[];
57 extern const char kExtensionNotSupported
[];
58 extern const char kProcessNotFound
[];
60 } // namespace processes_api_constants
62 } // namespace extensions
64 #endif // CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_CONSTANTS_H_