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

Unified Diff: chrome/browser/extensions/extension_processes_api_constants.h

Issue 10175008: Improving the process model extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improved task manager sample and minor cleanup. Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_processes_api_constants.h
diff --git a/chrome/browser/extensions/extension_processes_api_constants.h b/chrome/browser/extensions/extension_processes_api_constants.h
index 6f9bdea4c7d98789820196679adfd09035b01d5f..bf08fefb124928bf90ed859905724383dc7db3c8 100644
--- a/chrome/browser/extensions/extension_processes_api_constants.h
+++ b/chrome/browser/extensions/extension_processes_api_constants.h
@@ -10,15 +10,25 @@
namespace extension_processes_api_constants {
-// Keys used in serializing process data & events.
+// Process object properties.
extern const char kCpuKey[];
+extern const char kCssCacheKey[];
+extern const char kFPSKey[];
extern const char kIdKey[];
+extern const char kImageCacheKey[];
+extern const char kJsMemoryAllocatedKey[];
+extern const char kJsMemoryUsedKey[];
extern const char kNetworkKey[];
+extern const char kOsProcessIdKey[];
extern const char kPrivateMemoryKey[];
extern const char kProcessesKey[];
-extern const char kSharedMemoryKey[];
+extern const char kProfileKey[];
+extern const char kScriptCacheKey[];
+extern const char kSqliteMemoryKey[];
+extern const char kTabsListKey[];
extern const char kTypeKey[];
+// Process types.
extern const char kProcessTypeBrowser[];
extern const char kProcessTypeExtension[];
extern const char kProcessTypeGPU[];
@@ -30,7 +40,20 @@ extern const char kProcessTypeRenderer[];
extern const char kProcessTypeUtility[];
extern const char kProcessTypeWorker[];
+// Cache object properties.
+extern const char kCacheLiveSize[];
+extern const char kCacheSize[];
+
+// Event names.
+extern const char kOnCreated[];
+extern const char kOnExited[];
+extern const char kOnUnresponsive[];
extern const char kOnUpdated[];
+extern const char kOnUpdatedWithMemory[];
+
+// Error strings.
+extern const char kExtensionNotSupported[];
+extern const char kProcessNotFound[];
}; // namespace extension_processes_api_constants

Powered by Google App Engine
This is Rietveld 408576698