OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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/api/processes/processes_api_constants.h" | 5 #include "chrome/browser/extensions/api/processes/processes_api_constants.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 namespace processes_api_constants { | 9 namespace processes_api_constants { |
10 | 10 |
11 // Process object properties. | 11 // Process object properties. |
12 const char kCpuKey[] = "cpu"; | 12 const char kCpuKey[] = "cpu"; |
13 const char kCssCacheKey[] = "cssCache"; | 13 const char kCssCacheKey[] = "cssCache"; |
14 const char kFPSKey[] = "fps"; | 14 const char kFPSKey[] = "fps"; |
15 const char kIdKey[] = "id"; | 15 const char kIdKey[] = "id"; |
16 const char kImageCacheKey[] = "imageCache"; | 16 const char kImageCacheKey[] = "imageCache"; |
17 const char kJsMemoryAllocatedKey[] = "jsMemoryAllocated"; | 17 const char kJsMemoryAllocatedKey[] = "jsMemoryAllocated"; |
18 const char kJsMemoryUsedKey[] = "jsMemoryUsed"; | 18 const char kJsMemoryUsedKey[] = "jsMemoryUsed"; |
| 19 const char kNaClDebugPortKey[] = "naclDebugPort"; |
19 const char kNetworkKey[] = "network"; | 20 const char kNetworkKey[] = "network"; |
20 const char kOsProcessIdKey[] = "osProcessId"; | 21 const char kOsProcessIdKey[] = "osProcessId"; |
21 const char kPrivateMemoryKey[] = "privateMemory"; | 22 const char kPrivateMemoryKey[] = "privateMemory"; |
22 const char kProfileKey[] = "profile"; | 23 const char kProfileKey[] = "profile"; |
23 const char kScriptCacheKey[] = "scriptCache"; | 24 const char kScriptCacheKey[] = "scriptCache"; |
24 const char kSqliteMemoryKey[] = "sqliteMemory"; | 25 const char kSqliteMemoryKey[] = "sqliteMemory"; |
25 const char kTabsListKey[] = "tabs"; | 26 const char kTabsListKey[] = "tabs"; |
| 27 const char kTitleKey[] = "title"; |
26 const char kTypeKey[] = "type"; | 28 const char kTypeKey[] = "type"; |
27 | 29 |
28 // Process types. | 30 // Process types. |
29 const char kProcessTypeBrowser[] = "browser"; | 31 const char kProcessTypeBrowser[] = "browser"; |
30 const char kProcessTypeExtension[] = "extension"; | 32 const char kProcessTypeExtension[] = "extension"; |
31 const char kProcessTypeGPU[] = "gpu"; | 33 const char kProcessTypeGPU[] = "gpu"; |
32 const char kProcessTypeNacl[] = "nacl"; | 34 const char kProcessTypeNacl[] = "nacl"; |
33 const char kProcessTypeNotification[] = "notification"; | 35 const char kProcessTypeNotification[] = "notification"; |
34 const char kProcessTypeOther[] = "other"; | 36 const char kProcessTypeOther[] = "other"; |
35 const char kProcessTypePlugin[] = "plugin"; | 37 const char kProcessTypePlugin[] = "plugin"; |
(...skipping 13 matching lines...) Expand all Loading... |
49 const char kOnUpdatedWithMemory[] = "processes.onUpdatedWithMemory"; | 51 const char kOnUpdatedWithMemory[] = "processes.onUpdatedWithMemory"; |
50 | 52 |
51 // Error strings. | 53 // Error strings. |
52 const char kExtensionNotSupported[] = | 54 const char kExtensionNotSupported[] = |
53 "The Processes extension API is not supported on this platform."; | 55 "The Processes extension API is not supported on this platform."; |
54 const char kProcessNotFound[] = "Process not found: *."; | 56 const char kProcessNotFound[] = "Process not found: *."; |
55 | 57 |
56 } // namespace processes_api_constants | 58 } // namespace processes_api_constants |
57 | 59 |
58 } // namespace extensions | 60 } // namespace extensions |
OLD | NEW |