Revert 285173 "Removed InProcessBrowserTest::CleanUpOnMainThread()"
[chromium-blink-merge.git] / chrome / browser / extensions / api / processes / processes_api_constants.cc
blob394a2e7fc6ff4b6c4613b161892ebecbfd7c470b
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"
7 namespace extensions {
9 namespace processes_api_constants {
11 // Process object properties.
12 const char kCpuKey[] = "cpu";
13 const char kCssCacheKey[] = "cssCache";
14 const char kIdKey[] = "id";
15 const char kImageCacheKey[] = "imageCache";
16 const char kJsMemoryAllocatedKey[] = "jsMemoryAllocated";
17 const char kJsMemoryUsedKey[] = "jsMemoryUsed";
18 const char kNaClDebugPortKey[] = "naclDebugPort";
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 kTitleKey[] = "title";
27 const char kTypeKey[] = "type";
29 // Process types.
30 const char kProcessTypeBrowser[] = "browser";
31 const char kProcessTypeExtension[] = "extension";
32 const char kProcessTypeGPU[] = "gpu";
33 const char kProcessTypeNacl[] = "nacl";
34 const char kProcessTypeNotification[] = "notification";
35 const char kProcessTypeOther[] = "other";
36 const char kProcessTypePlugin[] = "plugin";
37 const char kProcessTypeRenderer[] = "renderer";
38 const char kProcessTypeUtility[] = "utility";
39 const char kProcessTypeWorker[] = "worker";
41 // Cache object properties.
42 const char kCacheLiveSize[] = "liveSize";
43 const char kCacheSize[] = "size";
45 // Event names.
46 const char kOnCreated[] = "processes.onCreated";
47 const char kOnExited[] = "processes.onExited";
48 const char kOnUnresponsive[] = "processes.onUnresponsive";
49 const char kOnUpdated[] = "processes.onUpdated";
50 const char kOnUpdatedWithMemory[] = "processes.onUpdatedWithMemory";
52 // Error strings.
53 const char kExtensionNotSupported[] =
54 "The Processes extension API is not supported on this platform.";
55 const char kProcessNotFound[] = "Process not found: *.";
57 } // namespace processes_api_constants
59 } // namespace extensions