Chromium Code Reviews| Index: chrome/browser/extensions/extension_permissions_prompt.h |
| diff --git a/chrome/browser/extensions/extension_permissions_prompt.h b/chrome/browser/extensions/extension_permissions_prompt.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b3b8dd8480c481386b8c0fb9c91ddc5c0144e285 |
| --- /dev/null |
| +++ b/chrome/browser/extensions/extension_permissions_prompt.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_PROMPT_H_ |
| +#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_PROMPT_H_ |
| + |
| +#include "chrome/browser/extensions/extension_install_prompt.h" |
| + |
| +class ExtensionPermissionsPrompt : public ExtensionInstallPrompt { |
| + |
| + public: |
| + |
| + explicit ExtensionPermissionsPrompt(content::WebContents* contents); |
| + |
| + // This *WILL* call Abort() on |delegate|. |
|
asargent_no_longer_on_chrome
2013/03/20 21:46:30
do you mean it will *always* call InstallUIAbort,
Gaurav
2013/03/27 19:06:44
yes
|
| + virtual void PermissionsDialog(Delegate* delegate, |
|
asargent_no_longer_on_chrome
2013/03/20 21:46:30
Is this delegate a ExtensionInstallPrompt::Delegat
Gaurav
2013/03/27 19:06:44
Done.
|
| + const extensions::Extension* extension); |
| + |
| +}; |
| + |
| +#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PERMISSIONS_PROMPT_H_ |