| 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"; | |
| 15 const char kIdKey[] = "id"; | 14 const char kIdKey[] = "id"; |
| 16 const char kImageCacheKey[] = "imageCache"; | 15 const char kImageCacheKey[] = "imageCache"; |
| 17 const char kJsMemoryAllocatedKey[] = "jsMemoryAllocated"; | 16 const char kJsMemoryAllocatedKey[] = "jsMemoryAllocated"; |
| 18 const char kJsMemoryUsedKey[] = "jsMemoryUsed"; | 17 const char kJsMemoryUsedKey[] = "jsMemoryUsed"; |
| 19 const char kNaClDebugPortKey[] = "naclDebugPort"; | 18 const char kNaClDebugPortKey[] = "naclDebugPort"; |
| 20 const char kNetworkKey[] = "network"; | 19 const char kNetworkKey[] = "network"; |
| 21 const char kOsProcessIdKey[] = "osProcessId"; | 20 const char kOsProcessIdKey[] = "osProcessId"; |
| 22 const char kPrivateMemoryKey[] = "privateMemory"; | 21 const char kPrivateMemoryKey[] = "privateMemory"; |
| 23 const char kProfileKey[] = "profile"; | 22 const char kProfileKey[] = "profile"; |
| 24 const char kScriptCacheKey[] = "scriptCache"; | 23 const char kScriptCacheKey[] = "scriptCache"; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 51 const char kOnUpdatedWithMemory[] = "processes.onUpdatedWithMemory"; | 50 const char kOnUpdatedWithMemory[] = "processes.onUpdatedWithMemory"; |
| 52 | 51 |
| 53 // Error strings. | 52 // Error strings. |
| 54 const char kExtensionNotSupported[] = | 53 const char kExtensionNotSupported[] = |
| 55 "The Processes extension API is not supported on this platform."; | 54 "The Processes extension API is not supported on this platform."; |
| 56 const char kProcessNotFound[] = "Process not found: *."; | 55 const char kProcessNotFound[] = "Process not found: *."; |
| 57 | 56 |
| 58 } // namespace processes_api_constants | 57 } // namespace processes_api_constants |
| 59 | 58 |
| 60 } // namespace extensions | 59 } // namespace extensions |
| OLD | NEW |