// Copyright 2013 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. // The type schemas for structured manifest items. Not actually a callable API. // TODO(kalman): Expose these in the docs somewhere. [ { "namespace": "manifestTypes", "description": "Schemas for structured manfiest entries", "types": [ { "id": "ExternallyConnectable", "type": "object", "description": "The schema of the externally_connectable manifest property", "properties": { "matches": { "description": "

The URL patterns for web pages that are allowed to connect. If left empty or unspecified, no web pages can connect.

Patterns cannot include wildcard domains nor subdomains of (effective) top level domains; *://google.com/* and http://*.chromium.org/* are valid, while <all_urls>, http://*/*, *://*.com/*, and even http://*.appspot.com/* are not.

", "optional": true, "type": "array", "items": {"type": "string"} }, "ids": { "description": "The IDs of extensions or apps that are allowed to connect. If left empty or unspecified, no extensions nor apps can connect. * will match all extension and app IDs.", "optional": true, "type": "array", "items": {"type": "string"} } } } ] } ]