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