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

Unified Diff: chrome/common/extensions/api/experimental.runtime.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.runtime.json
diff --git a/chrome/common/extensions/api/experimental.runtime.json b/chrome/common/extensions/api/experimental.runtime.json
deleted file mode 100644
index ad371601c9b6d8cfa43a40bc6e8317f367591761..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/experimental.runtime.json
+++ /dev/null
@@ -1,46 +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.runtime",
- "functions": [
- {
- "name": "getBackgroundPage",
- "type": "function",
- "description": "Retrieves the JavaScript 'window' object for the background page running inside the current extension. If the background page is transient, the system will ensure it is loaded before calling the callback. If there is no background page, an error is set.",
- "parameters": [
- {
- "type": "function",
- "name": "callback",
- "parameters": [
- {
- "name": "backgroundPage",
- // Note: Only optional because we don't support validation
- // for custom callbacks.
- "optional": true,
- "type": "object",
- "isInstanceOf": "global",
- "additionalProperties": { "type": "any" },
- "description": "The JavaScript 'window' object for the background page."
- }
- ]
- }
- ]
- }
- ],
- "events": [
- {
- "name": "onInstalled",
- "type": "function",
- "description": "Fired when the extension is first installed."
- },
- {
- "name": "onBackgroundPageUnloadingSoon",
- "type": "function",
- "description": "Sent to the transient background page just before it is unloaded. This gives the extension opportunity to do some clean up. Note that since the page is unloading, any asynchronous operations started while handling this event are not guaranteed to complete."
- }
- ]
- }
-]
« no previous file with comments | « chrome/common/extensions/api/experimental.rlz.json ('k') | chrome/common/extensions/api/experimental.serial.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698