| Index: chrome/browser/extensions/api/developer_private/developer_private_api.h
|
| diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api.h b/chrome/browser/extensions/api/developer_private/developer_private_api.h
|
| index 73d98c87ea4bcfa81c4986af0667aa50004833dd..26600fb617521caa26d899826c030bdd00de3e3c 100644
|
| --- a/chrome/browser/extensions/api/developer_private/developer_private_api.h
|
| +++ b/chrome/browser/extensions/api/developer_private/developer_private_api.h
|
| @@ -187,6 +187,28 @@ class DeveloperPrivateReloadFunction : public SyncExtensionFunction {
|
| virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| +class DeveloperPrivateShowPermissionsDialogFunction
|
| + : public SyncExtensionFunction,
|
| + public ExtensionInstallPrompt::Delegate {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION("developerPrivate.showPermissionsDialog",
|
| + DEVELOPERPRIVATE_PERMISSIONS);
|
| +
|
| + DeveloperPrivateShowPermissionsDialogFunction();
|
| + protected:
|
| + virtual ~DeveloperPrivateShowPermissionsDialogFunction();
|
| +
|
| + // ExtensionFunction:
|
| + virtual bool RunImpl() OVERRIDE;
|
| +
|
| + // Overridden from ExtensionInstallPrompt::Delegate
|
| + virtual void InstallUIProceed() OVERRIDE;
|
| + virtual void InstallUIAbort(bool user_initiated) OVERRIDE;
|
| +
|
| + scoped_ptr<ExtensionInstallPrompt> prompt_;
|
| +
|
| +};
|
| +
|
| class DeveloperPrivateRestartFunction : public SyncExtensionFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION("developerPrivate.restart",
|
|
|