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

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: merge. 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
« no previous file with comments | « chrome/browser/resources/apps_debugger/js/items.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/apps_debugger/js/items.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698