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 kNaClDebugPortKey
[] = "naclDebugPort";
20 const char kNetworkKey
[] = "network";
21 const char kOsProcessIdKey
[] = "osProcessId";
22 const char kPrivateMemoryKey
[] = "privateMemory";
23 const char kProfileKey
[] = "profile";
24 const char kScriptCacheKey
[] = "scriptCache";
25 const char kSqliteMemoryKey
[] = "sqliteMemory";
26 const char kTabsListKey
[] = "tabs";
27 const char kTitleKey
[] = "title";
28 const char kTypeKey
[] = "type";
31 const char kProcessTypeBrowser
[] = "browser";
32 const char kProcessTypeExtension
[] = "extension";
33 const char kProcessTypeGPU
[] = "gpu";
34 const char kProcessTypeNacl
[] = "nacl";
35 const char kProcessTypeNotification
[] = "notification";
36 const char kProcessTypeOther
[] = "other";
37 const char kProcessTypePlugin
[] = "plugin";
38 const char kProcessTypeRenderer
[] = "renderer";
39 const char kProcessTypeUtility
[] = "utility";
40 const char kProcessTypeWorker
[] = "worker";
42 // Cache object properties.
43 const char kCacheLiveSize
[] = "liveSize";
44 const char kCacheSize
[] = "size";
47 const char kOnCreated
[] = "processes.onCreated";
48 const char kOnExited
[] = "processes.onExited";
49 const char kOnUnresponsive
[] = "processes.onUnresponsive";
50 const char kOnUpdated
[] = "processes.onUpdated";
51 const char kOnUpdatedWithMemory
[] = "processes.onUpdatedWithMemory";
54 const char kExtensionNotSupported
[] =
55 "The Processes extension API is not supported on this platform.";
56 const char kProcessNotFound
[] = "Process not found: *.";
58 } // namespace processes_api_constants
60 } // namespace extensions