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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 6871019: Enable (optional) blocking of webrequests in case a PAC script cannot be fetched or is invalid. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 3982 matching lines...) Expand 10 before | Expand all | Expand 10 after
3993 "fallbackProxy": {"$ref": "ProxyServer", "optional": true, "descriptio n": "The proxy server to be used for everthing else or if any of the specific pr oxyFor... is not specified."}, 3993 "fallbackProxy": {"$ref": "ProxyServer", "optional": true, "descriptio n": "The proxy server to be used for everthing else or if any of the specific pr oxyFor... is not specified."},
3994 "bypassList": {"type": "array", "items": {"type": "string"}, "optional ": true, "description": "List of servers to connect to without a proxy server."} 3994 "bypassList": {"type": "array", "items": {"type": "string"}, "optional ": true, "description": "List of servers to connect to without a proxy server."}
3995 } 3995 }
3996 }, 3996 },
3997 { 3997 {
3998 "id": "PacScript", 3998 "id": "PacScript",
3999 "type": "object", 3999 "type": "object",
4000 "description": "An object holding proxy auto-config information. Exactly one of the fields should be non-empty.", 4000 "description": "An object holding proxy auto-config information. Exactly one of the fields should be non-empty.",
4001 "properties": { 4001 "properties": {
4002 "url": {"type": "string", "optional": true, "description": "URL of the PAC file to be used."}, 4002 "url": {"type": "string", "optional": true, "description": "URL of the PAC file to be used."},
4003 "data": {"type": "string", "optional": true, "description": "A PAC scr ipt."} 4003 "data": {"type": "string", "optional": true, "description": "A PAC scr ipt."},
4004 "mandatory": {"type": "boolean", "optional": true, "description": "If true, an invalid PAC script will prevent the network stack from falling back to direct connections. Defaults to false."}
4004 } 4005 }
4005 }, 4006 },
4006 { 4007 {
4007 "id": "ProxyConfig", 4008 "id": "ProxyConfig",
4008 "type": "object", 4009 "type": "object",
4009 "description": "An object encapsulating a complete proxy configuration." , 4010 "description": "An object encapsulating a complete proxy configuration." ,
4010 "properties": { 4011 "properties": {
4011 "rules": {"$ref": "ProxyRules", "optional": true, "description": "The proxy rules describing this configuration. Use this for 'fixed_servers' mode."}, 4012 "rules": {"$ref": "ProxyRules", "optional": true, "description": "The proxy rules describing this configuration. Use this for 'fixed_servers' mode."},
4012 "pacScript": {"$ref": "PacScript", "optional": true, "description": "T he proxy auto-config (PAC) script for this configuration. Use this for 'pac_scri pt' mode."}, 4013 "pacScript": {"$ref": "PacScript", "optional": true, "description": "T he proxy auto-config (PAC) script for this configuration. Use this for 'pac_scri pt' mode."},
4013 "mode": { 4014 "mode": {
(...skipping 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after
5358 { 5359 {
5359 "type": "integer", 5360 "type": "integer",
5360 "name": "tabId", 5361 "name": "tabId",
5361 "description": "The id of the tab that was detached." 5362 "description": "The id of the tab that was detached."
5362 } 5363 }
5363 ] 5364 ]
5364 } 5365 }
5365 ] 5366 ]
5366 } 5367 }
5367 ] 5368 ]
OLDNEW
« no previous file with comments | « chrome/common/automation_constants.cc ('k') | chrome/common/extensions/docs/examples/extensions/proxy_configuration.zip » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698