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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 6541021: Send fatal proxy errors to the network delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 10 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/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index a8ef0e1d0c629f2ba49fe7aca2ccad457da97792..db262f51167dd33b22a9f2c19468efe52d4c8026 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -3808,6 +3808,29 @@
}
]
}
+ ],
+ "events": [
+ {
+ "name": "onProxyError",
+ "type": "function",
+ "description": "Notifies about proxy errors.",
+ "parameters": [
+ {
+ "type": "object",
+ "name": "details",
+ "properties": {
+ "fatal": {
+ "type": "boolean",
+ "description": "If true, no connection to the proxy server could be created and the network transaction was aborted. Otherwise, a direct connection is used instead."
+ },
+ "details": {
+ "type": "string",
+ "description": "Additional details about the error such as a javascript runtime error."
+ }
+ }
+ }
+ ]
+ }
]
},
{

Powered by Google App Engine
This is Rietveld 408576698