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

Unified Diff: chrome/common/extensions/api/developer_private.idl

Issue 1083573002: Revert https://codereview.chromium.org/1060993003 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/developer_private.idl
diff --git a/chrome/common/extensions/api/developer_private.idl b/chrome/common/extensions/api/developer_private.idl
index 1074ec0b01f5d7af2884b6ffd95c5456d2c6dab2..56ad9cbc589bc8e823ba87a135d8d9d31375a973 100644
--- a/chrome/common/extensions/api/developer_private.idl
+++ b/chrome/common/extensions/api/developer_private.idl
@@ -149,49 +149,41 @@ namespace developerPrivate {
};
dictionary ExtensionInfo {
- boolean actionButtonHidden;
+ boolean actionButtonHidden; // enable_show_button
DOMString? blacklistText;
DOMString[] dependentExtensions;
DOMString description;
- DisableReasons disableReasons;
- AccessModifier errorCollection;
- AccessModifier fileAccess;
- HomePage homePage;
- DOMString iconUrl;
+ DisableReasons disableReasons; //suspicious, corrupt, updaterequired
+ AccessModifier errorCollection; // errorCollectionEd, wantsErrorCollection;
+ AccessModifier fileAccess; // allowFileAccess, wantsFileAccess
+ HomePage homePage; // homepageProvided && homepageUrl
+ DOMString iconUrl; // icon
DOMString id;
- AccessModifier incognitoAccess;
+ AccessModifier incognitoAccess; // enabled/can be enabled incognito
boolean installedByCustodian;
DOMString[] installWarnings;
DOMString? launchUrl;
- Location location;
+ Location location; // is_unpacked, is from store, allow reload
DOMString? locationText;
ManifestError[] manifestErrors;
- boolean mustRemainInstalled;
+ boolean mustRemainInstalled; // recommendedInstall
DOMString name;
boolean offlineEnabled;
OptionsPage? optionsPage;
DOMString? path;
DOMString? policyText;
DOMString? prettifiedPath;
- AccessModifier runOnAllUrls;
+ AccessModifier runOnAllUrls; // allowAllUrls, showAllUrls
RuntimeError[] runtimeErrors;
- DOMString[] runtimeWarnings;
+ DOMString[] runtimeWarnings; // warnings
ExtensionState state;
- ExtensionType type;
+ ExtensionType type; // is_hosted_app, is_platform_app, etc
DOMString updateUrl;
- boolean userMayModify;
+ boolean userMayModify; // managed install
DOMString version;
ExtensionView[] views;
};
- dictionary ProfileInfo {
- boolean appInfoDialogEnabled;
- boolean canLoadUnpacked;
- boolean inDeveloperMode;
- boolean isIncognitoAvailable;
- boolean isSupervised;
- };
-
// DEPRECATED: Prefer ExtensionInfo.
dictionary ItemInfo {
DOMString id;
@@ -243,10 +235,6 @@ namespace developerPrivate {
boolean? showActionButton;
};
- dictionary ProfileConfigurationUpdate {
- boolean? inDeveloperMode;
- };
-
dictionary ReloadOptions {
// If false, an alert dialog will show in the event of a reload error.
// Defaults to false.
@@ -387,7 +375,6 @@ namespace developerPrivate {
callback ExtensionInfosCallback = void (ExtensionInfo[] result);
callback ExtensionInfoCallback = void (ExtensionInfo result);
callback ItemsInfoCallback = void (ItemInfo[] result);
- callback ProfileInfoCallback = void (ProfileInfo info);
callback GetProjectsInfoCallback = void (ProjectInfo[] result);
callback PathCallback = void (DOMString path);
callback PackCallback = void (PackDirectoryResponse response);
@@ -422,15 +409,6 @@ namespace developerPrivate {
boolean includeTerminated,
ItemsInfoCallback callback);
- // Returns the current profile's configuration.
- static void getProfileConfiguration(ProfileInfoCallback callback);
-
- // Updates the active profile.
- // |update| : The parameters for updating the profile's configuration. Any
- // properties omitted from |update| will not be changed.
- static void updateProfileConfiguration(ProfileConfigurationUpdate update,
- optional VoidCallback callback);
-
// Opens a permissions dialog.
// |extensionId| : The id of the extension to show permissions for.
static void showPermissionsDialog(DOMString extensionId,
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_settings_handler.cc ('k') | extensions/browser/extension_function.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698