Index: chrome/common/extensions/api/extension_api.json |
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json |
index a8ef0e1d0c629f2ba49fe7aca2ccad457da97792..05c53a392cb7179e1c017587cd2b26c8b77cb4ce 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -3808,6 +3808,33 @@ |
} |
] |
} |
+ ], |
+ "events": [ |
+ { |
+ "name": "onProxyError", |
+ "type": "function", |
+ "description": "Notifies about proxy errors.", |
+ "parameters": [ |
+ { |
+ "type": "object", |
+ "name": "details", |
+ "properties": { |
+ "fatal": { |
+ "type": "boolean", |
+ "description": "If true, the error was fatal and the network transaction was aborted. Otherwise, a direct connection is used instead." |
+ }, |
+ "error": { |
+ "type": "string", |
+ "description": "The error description." |
+ }, |
+ "details": { |
+ "type": "string", |
+ "description": "Additional details about the error such as a JavaScript runtime error." |
+ } |
+ } |
+ } |
+ ] |
+ } |
] |
}, |
{ |