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

Unified Diff: chrome/common/extensions/api/experimental.processes.json

Issue 10272021: Files generated by the JSON schema compiler are named incorrectly (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor changes Created 8 years, 7 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/common/extensions/api/experimental.processes.json
diff --git a/chrome/common/extensions/api/experimental.processes.json b/chrome/common/extensions/api/experimental.processes.json
deleted file mode 100644
index be7cf5269bfabe43025f80d03ecaa977ebf47633..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/experimental.processes.json
+++ /dev/null
@@ -1,83 +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.
-
-[
- {
- "namespace": "experimental.processes",
- "nodoc": true,
- "types": [
- {
- "id": "Process",
- "type": "object",
- "description": "An object containing information about one of the browser's processes.",
- "properties": {
- "id": {
- "type": "integer",
- "description": "The ID of the process, as provided by the OS."
- },
- "type": {
- "type": "string",
- "enum": ["browser", "renderer", "extension", "notification", "plugin", "worker", "nacl", "utility", "gpu", "other"],
- "description": "The type of process."
- },
- "cpu": {
- "type": "number",
- "description": "The most recent measurement of the process's CPU usage, between 0 and 100%."
- },
- "network": {
- "type": "number",
- "description": "The most recent measurement of the process's network usage, in bytes per second."
- },
- "privateMemory": {
- "type": "number",
- "description": "The most recent measurement of the process's private memory usage, in bytes."
- },
- "sharedMemory": {
- "type": "number",
- "description": "The most recent measurement of the process's shared memory usage, in bytes."
- }
- }
- }
- ],
- "functions": [
- {
- "name": "getProcessIdForTab",
- "type": "function",
- "description": "Returns the ID of the renderer process for the specified tab.",
- "parameters": [
- {
- "name": "tabId",
- "type": "integer",
- "minimum": 0
- },
- {
- "type": "function",
- "name": "callback",
- "parameters": [
- {
- "name": "processId",
- "type": "integer",
- "description": "Process ID of the tab's renderer process."
- }
- ]
- }
- ]
- }
- ],
- "events": [
- {
- "name": "onUpdated",
- "type": "function",
- "description": "Fired each time the Task Manager updates its process statistics, providing the dictionary of updated Process objects, indexed by process ID.",
- "parameters": [
- {
- "name": "processes",
- "type": "object",
- "additionalProperties": { "$ref": "Process" }
- }
- ]
- }
- ]
- }
-]
« no previous file with comments | « chrome/common/extensions/api/experimental.offscreenTabs.json ('k') | chrome/common/extensions/api/experimental.record.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698