| Index: chrome/browser/extensions/api/developer_private/developer_private_api.cc
|
| diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api.cc b/chrome/browser/extensions/api/developer_private/developer_private_api.cc
|
| index 12cd9b7a249f4bdaa5326b92ec3669945ffcfeae..94cada6584dce441e29cb1def9582509e73ea582 100644
|
| --- a/chrome/browser/extensions/api/developer_private/developer_private_api.cc
|
| +++ b/chrome/browser/extensions/api/developer_private/developer_private_api.cc
|
| @@ -1248,12 +1248,29 @@ bool DeveloperPrivateGetStringsFunction::RunImpl() {
|
| SET_STRING("deleteConfirmationMessageExtension",
|
| IDS_APPS_DEVTOOL_DELETE_CONFIRMATION_MESSAGE_EXTENSION);
|
|
|
| +// Dialog when profile is managed.
|
| + SET_STRING("managedProfileDialogCloseButton",
|
| + IDS_APPS_DEVTOOL_MANAGED_PROFILE_DIALOG_CLOSE_BUTTON);
|
| + SET_STRING("managedProfileDialogTitle",
|
| + IDS_APPS_DEVTOOL_MANAGED_PROFILE_DIALOG_TITLE);
|
| + SET_STRING("managedProfileDialogDescription",
|
| + IDS_APPS_DEVTOOL_MANAGED_PROFILE_DIALOG_DESCRIPTION);
|
| +
|
| #undef SET_STRING
|
| return true;
|
| }
|
|
|
| DeveloperPrivateGetStringsFunction::~DeveloperPrivateGetStringsFunction() {}
|
|
|
| +bool DeveloperPrivateIsProfileManagedFunction::RunImpl() {
|
| + SetResult(new base::FundamentalValue(profile_->IsManaged()));
|
| + return true;
|
| +}
|
| +
|
| +DeveloperPrivateIsProfileManagedFunction::
|
| + ~DeveloperPrivateIsProfileManagedFunction() {
|
| +}
|
| +
|
| } // namespace api
|
|
|
| } // namespace extensions
|
|
|