1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_
9 class ExtensionService
;
14 namespace extensions
{
18 // Adds a global error to inform the user that an extension was
19 // disabled after upgrading to higher permissions.
20 void AddExtensionDisabledError(ExtensionService
* service
,
21 const Extension
* extension
);
23 // Shows the extension install dialog.
24 void ShowExtensionDisabledDialog(ExtensionService
* service
,
25 content::WebContents
* web_contents
,
26 const Extension
* extension
);
28 } // namespace extensions
30 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_