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

Unified Diff: chrome/browser/extensions/api/processes/processes_api_constants.cc

Issue 1584473004: Migrate ProcessesEventRouter to the new task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rearrange some code to make it easier to review. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/processes/processes_api_constants.cc
diff --git a/chrome/browser/extensions/api/processes/processes_api_constants.cc b/chrome/browser/extensions/api/processes/processes_api_constants.cc
deleted file mode 100644
index 39ac03e33a4666874bc929cf6fd162eb97da09cc..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/processes/processes_api_constants.cc
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/extensions/api/processes/processes_api_constants.h"
-
-namespace extensions {
-
-namespace processes_api_constants {
-
-// Process object properties.
-const char kCpuKey[] = "cpu";
-const char kCssCacheKey[] = "cssCache";
-const char kIdKey[] = "id";
-const char kImageCacheKey[] = "imageCache";
-const char kJsMemoryAllocatedKey[] = "jsMemoryAllocated";
-const char kJsMemoryUsedKey[] = "jsMemoryUsed";
-const char kNaClDebugPortKey[] = "naclDebugPort";
-const char kNetworkKey[] = "network";
-const char kOsProcessIdKey[] = "osProcessId";
-const char kPrivateMemoryKey[] = "privateMemory";
-const char kProfileKey[] = "profile";
-const char kScriptCacheKey[] = "scriptCache";
-const char kSqliteMemoryKey[] = "sqliteMemory";
-const char kTabsListKey[] = "tabs";
-const char kTitleKey[] = "title";
-const char kTypeKey[] = "type";
-
-// Process types.
-const char kProcessTypeBrowser[] = "browser";
-const char kProcessTypeExtension[] = "extension";
-const char kProcessTypeGPU[] = "gpu";
-const char kProcessTypeNacl[] = "nacl";
-const char kProcessTypeNotification[] = "notification";
-const char kProcessTypeOther[] = "other";
-const char kProcessTypePlugin[] = "plugin";
-const char kProcessTypeRenderer[] = "renderer";
-const char kProcessTypeUtility[] = "utility";
-const char kProcessTypeWorker[] = "worker";
-
-// Cache object properties.
-const char kCacheLiveSize[] = "liveSize";
-const char kCacheSize[] = "size";
-
-// Event names.
-const char kOnCreated[] = "processes.onCreated";
-const char kOnExited[] = "processes.onExited";
-const char kOnUnresponsive[] = "processes.onUnresponsive";
-const char kOnUpdated[] = "processes.onUpdated";
-const char kOnUpdatedWithMemory[] = "processes.onUpdatedWithMemory";
-
-// Error strings.
-const char kExtensionNotSupported[] =
- "The Processes extension API is not supported on this platform.";
-const char kNotAllowedToTerminate[] = "Not allowed to terminate process: *.";
-const char kProcessNotFound[] = "Process not found: *.";
-
-} // namespace processes_api_constants
-
-} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698