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

Unified Diff: chrome/common/extensions/api/declarativeWebRequest.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/declarativeWebRequest.json
diff --git a/chrome/common/extensions/api/declarativeWebRequest.json b/chrome/common/extensions/api/declarativeWebRequest.json
deleted file mode 100644
index c3d19dd5ea5bf3db63cc9fd680e73ef797ad3590..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/declarativeWebRequest.json
+++ /dev/null
@@ -1,64 +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": "declarativeWebRequest",
- "documentation_permissions_required": ["declarative", "declarativeWebRequest"],
- "types": [
- {
- "id": "RequestMatcher",
- "type": "object",
- "description": "Matches network events by various criteria.",
- "properties": {
- "url": {
- "$ref": "declarative.UrlFilter",
- "description": "Matches if the condition of the UrlFilter are fulfilled for the URL of the request.",
- "optional": true
- },
- "resourceType": {
- "type": "array",
- "optional": true,
- "description": "Matches if the request type of a request is contained in the list. Requests that cannot match any of the types will be filtered out.",
- "items": { "type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"] }
- },
- "instanceType": { "type": "string", "enum": ["declarativeWebRequest.RequestMatcher"] }
- }
- },
- {
- "id": "CancelRequest",
- "description": "Declarative event action that cancels a network request.",
- "type": "object",
- "properties": {
- "instanceType": { "type": "string", "enum": ["declarativeWebRequest.CancelRequest"] }
- }
- },
- {
- "id": "RedirectRequest",
- "description": "Declarative event action that redirects a network request.",
- "type": "object",
- "properties": {
- "instanceType": { "type": "string", "enum": ["declarativeWebRequest.RedirectRequest"] },
- "redirectUrl": { "type": "string", "description": "Destination to where the request is redirected."}
- }
- }
- ],
- "functions": [
- ],
- "events": [
- {
- "name": "onRequest",
- "options": {
- "supportsListeners": false,
- "supportsRules": true,
- "conditions": ["declarativeWebRequest.RequestMatcher"],
- "actions": [
- "declarativeWebRequest.CancelRequest",
- "declarativeWebRequest.RedirectRequest"
- ]
- }
- }
- ]
- }
-]
« no previous file with comments | « chrome/common/extensions/api/context_menus.json ('k') | chrome/common/extensions/api/declarative_web_request.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698