OLD | NEW |
---|---|
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 // developerPrivate API. | 5 // developerPrivate API. |
6 // This is a private API exposing developing and debugging functionalities for | 6 // This is a private API exposing developing and debugging functionalities for |
7 // apps and extensions. | 7 // apps and extensions. |
8 | 8 |
9 namespace developerPrivate { | 9 namespace developerPrivate { |
10 | 10 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
113 static void autoUpdate(BooleanCallback callback); | 113 static void autoUpdate(BooleanCallback callback); |
114 | 114 |
115 // Returns information of all the extensions and apps installed. | 115 // Returns information of all the extensions and apps installed. |
116 // |include_disabled| : include disabled items. | 116 // |include_disabled| : include disabled items. |
117 // |include_terminated| : include terminated items. | 117 // |include_terminated| : include terminated items. |
118 // |callback| : Called with items info. | 118 // |callback| : Called with items info. |
119 static void getItemsInfo(boolean include_disabled, | 119 static void getItemsInfo(boolean include_disabled, |
120 boolean include_terminated, | 120 boolean include_terminated, |
121 ItemsInfoCallback callback); | 121 ItemsInfoCallback callback); |
122 | 122 |
123 // Opens a permissions dialog for given |itemId|. | |
124 static void permissions(DOMString itemId, optional VoidCallback callback); | |
asargent_no_longer_on_chrome
2013/03/20 21:46:30
maybe showPermissionsDialog would be a better name
Gaurav
2013/03/27 19:06:44
Done.
| |
125 | |
123 // Opens an inspect window for given |options| | 126 // Opens an inspect window for given |options| |
124 static void inspect(InspectOptions options, | 127 static void inspect(InspectOptions options, |
125 optional VoidCallback callback); | 128 optional VoidCallback callback); |
126 | 129 |
127 // Enable / Disable file access for a given |item_id| | 130 // Enable / Disable file access for a given |item_id| |
128 static void allowFileAccess(DOMString item_id, | 131 static void allowFileAccess(DOMString item_id, |
129 boolean allow, | 132 boolean allow, |
130 optional VoidCallback callback); | 133 optional VoidCallback callback); |
131 | 134 |
132 // Reloads a given item with |itemId|. | 135 // Reloads a given item with |itemId|. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
164 long flags, | 167 long flags, |
165 PackCallback callback); | 168 PackCallback callback); |
166 | 169 |
167 // Gets localized translated strings for apps_debugger. It returns the | 170 // Gets localized translated strings for apps_debugger. It returns the |
168 // strings as a dictionary mapping from string identifier to the | 171 // strings as a dictionary mapping from string identifier to the |
169 // translated string to use in the apps_debugger app UI. | 172 // translated string to use in the apps_debugger app UI. |
170 static void getStrings(GetStringsCallback callback); | 173 static void getStrings(GetStringsCallback callback); |
171 }; | 174 }; |
172 | 175 |
173 }; | 176 }; |
OLD | NEW |