OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/extensions/extension_processes_api_constants.h" | 5 #include "chrome/browser/extensions/extension_processes_api_constants.h" |
6 | 6 |
7 namespace extension_processes_api_constants { | 7 namespace extension_processes_api_constants { |
8 | 8 |
9 const char kCpuKey[] = "cpu"; | 9 const char kCpuKey[] = "cpu"; |
10 const char kIdKey[] = "id"; | 10 const char kIdKey[] = "id"; |
11 const char kNetworkKey[] = "network"; | 11 const char kNetworkKey[] = "network"; |
12 const char kPrivateMemoryKey[] = "privateMemory"; | 12 const char kPrivateMemoryKey[] = "privateMemory"; |
13 const char kProcessesKey[] = "processes"; | 13 const char kProcessesKey[] = "processes"; |
14 const char kSharedMemoryKey[] = "sharedMemory"; | 14 const char kSharedMemoryKey[] = "sharedMemory"; |
15 const char kTypeKey[] = "type"; | 15 const char kTypeKey[] = "type"; |
16 const char kOsProcessId[] = "osProcessId"; | |
Charlie Reis
2012/04/23 22:19:51
Each group should be alphabetical.
nasko
2012/04/24 18:14:29
Done.
| |
17 const char kProfile[] = "profile"; | |
18 const char kTabsList[] = "tabs"; | |
19 const char kMemoryUsage[] = "memoryUsage"; | |
20 const char kJsMemoryAllocated[] = "jsMemoryAllocated"; | |
21 const char kJsMemoryUsed[] = "jsMemoryUsed"; | |
22 const char kSqliteMemory[] = "sqliteMemory"; | |
23 const char kFPS[] = "fps"; | |
24 const char kImageCache[] = "imageCache"; | |
25 const char kScriptCache[] = "scriptCache"; | |
26 const char kCssCache[] = "cssCache"; | |
16 | 27 |
17 const char kProcessTypeBrowser[] = "browser"; | 28 const char kProcessTypeBrowser[] = "browser"; |
18 const char kProcessTypeExtension[] = "extension"; | 29 const char kProcessTypeExtension[] = "extension"; |
19 const char kProcessTypeGPU[] = "gpu"; | 30 const char kProcessTypeGPU[] = "gpu"; |
20 const char kProcessTypeNacl[] = "nacl"; | 31 const char kProcessTypeNacl[] = "nacl"; |
21 const char kProcessTypeNotification[] = "notification"; | 32 const char kProcessTypeNotification[] = "notification"; |
22 const char kProcessTypeOther[] = "other"; | 33 const char kProcessTypeOther[] = "other"; |
23 const char kProcessTypePlugin[] = "plugin"; | 34 const char kProcessTypePlugin[] = "plugin"; |
24 const char kProcessTypeRenderer[] = "renderer"; | 35 const char kProcessTypeRenderer[] = "renderer"; |
25 const char kProcessTypeUtility[] = "utility"; | 36 const char kProcessTypeUtility[] = "utility"; |
26 const char kProcessTypeWorker[] = "worker"; | 37 const char kProcessTypeWorker[] = "worker"; |
27 | 38 |
39 const char kCacheSize[] = "size"; | |
40 const char kCacheLiveSize[] = "liveSize"; | |
41 | |
42 const char kMemUsagePrivate[] = "private"; | |
43 const char kMemUsageShared[] = "shared"; | |
44 const char kMemUsageVirtual[] = "virtual"; | |
45 const char kMemUsageProportional[] = "proportional"; | |
46 const char kMemUsageResident[] = "resident"; | |
47 const char kMemUsageVirtualMapped[] = "virtualMapped"; | |
48 | |
28 const char kOnUpdated[] = "experimental.processes.onUpdated"; | 49 const char kOnUpdated[] = "experimental.processes.onUpdated"; |
50 const char kOnUpdatedWithMemory[] = | |
51 "experimental.processes.onUpdatedWithMemory"; | |
52 const char kOnCreated[] = "experimental.processes.onCreated"; | |
53 const char kOnExited[] = "experimental.processes.onExited"; | |
54 const char kOnUnresponsive[] = "experimental.processes.onUnresponsive"; | |
55 | |
56 const char kProcessNotFound[] = "Process not found: *."; | |
29 | 57 |
30 } // namespace extension_processes_api_constants | 58 } // namespace extension_processes_api_constants |
OLD | NEW |