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

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

Issue 10947037: DevTools: provide the debugger detach reason in chrome.debugger.onDetach extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer comments addressed. Created 8 years, 3 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/debugger.json
diff --git a/chrome/common/extensions/api/debugger.json b/chrome/common/extensions/api/debugger.json
index 2e969d5d8b5b51a09f8f39608cf0fe055d9432ef..2ad41355e88fbc3cac5133405d92ee08a004b078 100644
--- a/chrome/common/extensions/api/debugger.json
+++ b/chrome/common/extensions/api/debugger.json
@@ -133,6 +133,12 @@
"$ref": "Debuggee",
"name": "source",
"description": "The debuggee that was detached."
+ },
+ {
+ "type": "string",
+ "name": "reason",
+ "description": "Connection termination reason.",
+ "enum": [ "target_closed", "canceled_by_user", "replaced_with_devtools" ]
}
]
}
« no previous file with comments | « chrome/browser/extensions/api/debugger/debugger_api.cc ('k') | chrome/test/data/extensions/api_test/debugger/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698