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 #include "chrome/browser/extensions/api/processes/processes_api_constants.h"
9 namespace processes_api_constants {
11 // Process object properties.
12 const char kCpuKey[] = "cpu";
13 const char kCssCacheKey[] = "cssCache";
14 const char kFPSKey[] = "fps";
15 const char kIdKey[] = "id";
16 const char kImageCacheKey[] = "imageCache";
17 const char kJsMemoryAllocatedKey[] = "jsMemoryAllocated";
18 const char kJsMemoryUsedKey[] = "jsMemoryUsed";
19 const char kNetworkKey[] = "network";
20 const char kOsProcessIdKey[] = "osProcessId";
21 const char kPrivateMemoryKey[] = "privateMemory";
22 const char kProfileKey[] = "profile";
23 const char kScriptCacheKey[] = "scriptCache";
24 const char kSqliteMemoryKey[] = "sqliteMemory";
25 const char kTabsListKey[] = "tabs";
26 const char kTypeKey[] = "type";
29 const char kProcessTypeBrowser[] = "browser";
30 const char kProcessTypeExtension[] = "extension";
31 const char kProcessTypeGPU[] = "gpu";
32 const char kProcessTypeNacl[] = "nacl";
33 const char kProcessTypeNotification[] = "notification";
34 const char kProcessTypeOther[] = "other";
35 const char kProcessTypePlugin[] = "plugin";
36 const char kProcessTypeRenderer[] = "renderer";
37 const char kProcessTypeUtility[] = "utility";
38 const char kProcessTypeWorker[] = "worker";
40 // Cache object properties.
41 const char kCacheLiveSize[] = "liveSize";
42 const char kCacheSize[] = "size";
45 const char kOnCreated[] = "processes.onCreated";
46 const char kOnExited[] = "processes.onExited";
47 const char kOnUnresponsive[] = "processes.onUnresponsive";
48 const char kOnUpdated[] = "processes.onUpdated";
49 const char kOnUpdatedWithMemory[] = "processes.onUpdatedWithMemory";
52 const char kExtensionNotSupported[] =
53 "The Processes extension API is not supported on this platform.";
54 const char kProcessNotFound[] = "Process not found: *.";
56 } // namespace processes_api_constants
58 } // namespace extensions