blob: c1c5c692e523cf3f5705e8858b260df55965416e [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]edb6e772012-03-22 00:58:038namespace extensions {
9
[email protected]1c321ee2012-05-21 03:02:3410class Extension;
Devlin Cronineea1b7a2018-05-26 02:46:2111class ExtensionService;
[email protected]1c321ee2012-05-21 03:02:3412
[email protected]62f051c2012-03-29 17:04:4413// Adds a global error to inform the user that an extension was
14// disabled after upgrading to higher permissions.
[email protected]21db9ef2014-05-16 02:06:2715// If |is_remote_install| is true, the extension was disabled because
16// it was installed remotely.
[email protected]62f051c2012-03-29 17:04:4417void AddExtensionDisabledError(ExtensionService* service,
[email protected]21db9ef2014-05-16 02:06:2718 const Extension* extension,
19 bool is_remote_install);
[email protected]0c6da502009-08-14 22:32:3920
[email protected]edb6e772012-03-22 00:58:0321} // namespace extensions
22
23#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_UI_H_