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 namespace developerPrivate { | 8 namespace developerPrivate { |
9 | 9 |
10 enum ItemType { | 10 enum ItemType { |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 // |callback| : called with the success result string. | 200 // |callback| : called with the success result string. |
201 static void packDirectory(DOMString path, | 201 static void packDirectory(DOMString path, |
202 DOMString private_key_path, | 202 DOMString private_key_path, |
203 long flags, | 203 long flags, |
204 PackCallback callback); | 204 PackCallback callback); |
205 | 205 |
206 // Gets localized translated strings for apps_debugger. It returns the | 206 // Gets localized translated strings for apps_debugger. It returns the |
207 // strings as a dictionary mapping from string identifier to the | 207 // strings as a dictionary mapping from string identifier to the |
208 // translated string to use in the apps_debugger app UI. | 208 // translated string to use in the apps_debugger app UI. |
209 static void getStrings(GetStringsCallback callback); | 209 static void getStrings(GetStringsCallback callback); |
| 210 |
| 211 // Returns true if the profile is managed. |
| 212 static void isProfileManaged(BooleanCallback callback); |
210 }; | 213 }; |
211 | 214 |
212 interface Events { | 215 interface Events { |
213 // Fired when a item state is changed. | 216 // Fired when a item state is changed. |
214 static void onItemStateChanged(EventData response); | 217 static void onItemStateChanged(EventData response); |
215 }; | 218 }; |
216 | 219 |
217 }; | 220 }; |
OLD | NEW |