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

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

Issue 23460005: Show modal dialog to tell users that the profile is managed when it's the case. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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 // 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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698