- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / processes / processes_api_constants.h
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_API_PROCESSES_PROCESSES_API_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_CONSTANTS_H_
9
10 namespace extensions {
11
12 namespace processes_api_constants {
13
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 kNetworkKey[];
23 extern const char kOsProcessIdKey[];
24 extern const char kPrivateMemoryKey[];
25 extern const char kProfileKey[];
26 extern const char kScriptCacheKey[];
27 extern const char kSqliteMemoryKey[];
28 extern const char kTabsListKey[];
29 extern const char kTypeKey[];
30
31 // Process types.
32 extern const char kProcessTypeBrowser[];
33 extern const char kProcessTypeExtension[];
34 extern const char kProcessTypeGPU[];
35 extern const char kProcessTypeNacl[];
36 extern const char kProcessTypeNotification[];
37 extern const char kProcessTypeOther[];
38 extern const char kProcessTypePlugin[];
39 extern const char kProcessTypeRenderer[];
40 extern const char kProcessTypeUtility[];
41 extern const char kProcessTypeWorker[];
42
43 // Cache object properties.
44 extern const char kCacheLiveSize[];
45 extern const char kCacheSize[];
46
47 // Event names.
48 extern const char kOnCreated[];
49 extern const char kOnExited[];
50 extern const char kOnUnresponsive[];
51 extern const char kOnUpdated[];
52 extern const char kOnUpdatedWithMemory[];
53
54 // Error strings.
55 extern const char kExtensionNotSupported[];
56 extern const char kProcessNotFound[];
57
58 }  // namespace processes_api_constants
59
60 }  // namespace extensions
61
62 #endif  // CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_CONSTANTS_H_