Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: chrome/browser/extensions/api/processes/processes_api_constants.h

Issue 1584473004: Migrate ProcessesEventRouter to the new task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dispatch onCreated and onExited only for processes with valid child process host IDs Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 // Constants used for the Processes API.
6
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_CONSTANTS_H_
8 #define CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_CONSTANTS_H_
9
10 namespace extensions {
11
12 namespace processes_api_constants {
13
14 // Process object properties.
15 extern const char kCpuKey[];
16 extern const char kCssCacheKey[];
17 extern const char kIdKey[];
18 extern const char kImageCacheKey[];
19 extern const char kJsMemoryAllocatedKey[];
20 extern const char kJsMemoryUsedKey[];
21 extern const char kNaClDebugPortKey[];
22 extern const char kNetworkKey[];
23 extern const char kOsProcessIdKey[];
24 extern const char kPrivateMemoryKey[];
25 extern const char kProfileKey[];
26 extern const char kScriptCacheKey[];
27 extern const char kSqliteMemoryKey[];
28 extern const char kTabsListKey[];
29 extern const char kTitleKey[];
30 extern const char kTypeKey[];
31
32 // Process types.
33 extern const char kProcessTypeBrowser[];
34 extern const char kProcessTypeExtension[];
35 extern const char kProcessTypeGPU[];
36 extern const char kProcessTypeNacl[];
37 extern const char kProcessTypeNotification[];
38 extern const char kProcessTypeOther[];
39 extern const char kProcessTypePlugin[];
40 extern const char kProcessTypeRenderer[];
41 extern const char kProcessTypeUtility[];
42 extern const char kProcessTypeWorker[];
43
44 // Cache object properties.
45 extern const char kCacheLiveSize[];
46 extern const char kCacheSize[];
47
48 // Event names.
49 extern const char kOnCreated[];
50 extern const char kOnExited[];
51 extern const char kOnUnresponsive[];
52 extern const char kOnUpdated[];
53 extern const char kOnUpdatedWithMemory[];
54
55 // Error strings.
56 extern const char kExtensionNotSupported[];
57 extern const char kNotAllowedToTerminate[];
58 extern const char kProcessNotFound[];
59
60 } // namespace processes_api_constants
61
62 } // namespace extensions
63
64 #endif // CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698