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

Side by Side Diff: chrome/common/extensions/api/apps_debugger_private.idl

Issue 11428116: First few API implementation of AppsDebuggerPrivate. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: . Created 8 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 // appsDebuggerPrivate API.
6
7 namespace appsDebuggerPrivate {
8
9 dictionary ItemInspectView {
10 DOMString path;
11 long renderProcessId;
12 long renderViewId;
13 boolean incognito;
14 };
15
16 dictionary ItemInfo {
17 DOMString id;
18 DOMString name;
19 DOMString version;
20 DOMString description;
21 boolean mayDisable;
22 boolean enabled;
23 DOMString? disabledReason;
24 boolean isApp;
25 DOMString type;
26 boolean allow_activity;
27 boolean allowFileAccess;
28 boolean wantsFileAccess;
29 boolean enabledIncognito;
30 boolean isUnpacked;
31 boolean allowReload;
32 DOMString icon;
33
34 // Path of an unpacked extension.
35 DOMString? path;
36
37 // Options settings page for the item.
38 DOMString optionsUrl;
39 DOMString appLaunchUrl;
40 DOMString? homepageUrl;
41 DOMString? updateUrl;
42 boolean offlineEnabled;
43
44 // All views of the current extension.
45 ItemInspectView[] views;
46 };
47
48 dictionary InspectOptions {
49 DOMString extensionId;
50 DOMString renderProcessId;
51 DOMString renderViewId;
52 boolean incognito;
asargent_no_longer_on_chrome 2012/11/30 22:56:02 Are extensionId and incognito really needed here?
Gaurav 2012/11/30 23:32:42 We use extensionId and incognito for lazy backgrou
53 };
54
55 callback BooleanCallback = void (boolean result);
56 callback ItemsInfoCallback = void (ItemInfo[] result);
57
58 interface Functions {
59 // Runs autoUpdate immediately.
60 // |callback| : Called with the boolean result.
61 static void autoUpdate(BooleanCallback callback);
62
63 // Returns information of all the extensions and apps installed.
64 // |callback| : Called with items info.
65 static void getItemsInfo(ItemsInfoCallback callback);
66
67 // Opens an inspect window for given |inspectOptions|
68 static void inspect(InspectOptions options,
69 BooleanCallback callback);
70 };
71
72 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698