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

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

Issue 12304021: Allow chrome.debugger API to attach to extension background pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a flag Created 7 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "debugger", 7 "namespace": "debugger",
8 "types": [ 8 "types": [
9 { 9 {
10 "id": "Debuggee", 10 "id": "Debuggee",
11 "type": "object", 11 "type": "object",
12 "description": "Debuggee identifier.", 12 "description": "Debuggee identifier. Either tabId or extensionId must be specified",
13 "properties": { 13 "properties": {
14 "tabId": { "type": "integer", "description": "The id of the tab which you intend to debug." } 14 "tabId": { "type": "integer", "optional": true, "description": "The id of the tab which you intend to debug." },
pfeldman 2013/02/26 11:33:12 that
15 "extensionId": { "type": "string", "optional": true, "description": "T he id of the extension which you intend to debug. Attaching to an extension back ground page is only possible when 'enable-silent-debugging' flag is enabled on t he target browser." }
15 } 16 }
16 } 17 }
17 ], 18 ],
18 "functions": [ 19 "functions": [
19 { 20 {
20 "name": "attach", 21 "name": "attach",
21 "type": "function", 22 "type": "function",
22 "description": "Attaches debugger to the given target.", 23 "description": "Attaches debugger to the given target.",
23 "parameters": [ 24 "parameters": [
24 { 25 {
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 "type": "string", 139 "type": "string",
139 "name": "reason", 140 "name": "reason",
140 "description": "Connection termination reason.", 141 "description": "Connection termination reason.",
141 "enum": [ "target_closed", "canceled_by_user", "replaced_with_devtoo ls" ] 142 "enum": [ "target_closed", "canceled_by_user", "replaced_with_devtoo ls" ]
142 } 143 }
143 ] 144 ]
144 } 145 }
145 ] 146 ]
146 } 147 }
147 ] 148 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698