blob: f71bcc95af7e85c55c9b3c8936f42ecac125f414 [file] [log] [blame]
[email protected]edb6e772012-03-22 00:58:031// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]0c6da502009-08-14 22:32:392// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]edb6e772012-03-22 00:58:035#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
6#define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
[email protected]0c6da502009-08-14 22:32:397
[email protected]32fc4ff72012-06-15 21:50:018class Browser;
[email protected]eaa7dd182010-12-14 11:09:009class ExtensionService;
[email protected]91e51d612012-10-21 23:03:0510namespace content {
11class WebContents;
12}
[email protected]0c6da502009-08-14 22:32:3913
[email protected]edb6e772012-03-22 00:58:0314namespace extensions {
15
[email protected]1c321ee52012-05-21 03:02:3416class Extension;
17
[email protected]62f051c2012-03-29 17:04:4418// Adds a global error to inform the user that an extension was
19// disabled after upgrading to higher permissions.
20void AddExtensionDisabledError(ExtensionService* service,
21 const Extension* extension);
[email protected]0c6da502009-08-14 22:32:3922
[email protected]7d845862010-01-04 21:28:5723// Shows the extension install dialog.
[email protected]91e51d612012-10-21 23:03:0524void ShowExtensionDisabledDialog(ExtensionService* service,
25 content::WebContents* web_contents,
[email protected]9adb9692010-10-29 23:14:0226 const Extension* extension);
[email protected]7d845862010-01-04 21:28:5727
[email protected]edb6e772012-03-22 00:58:0328} // namespace extensions
29
30#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_