Remove some NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED from c/b/extensions Part2
[chromium-blink-merge.git] / chrome / browser / extensions / external_install_ui.h
blobb8ee953e97cfcf5b44430f536d9fdc68f6b8e2ca
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_EXTERNAL_INSTALL_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_
8 class Browser;
9 class ExtensionService;
11 namespace extensions {
13 class Extension;
15 // Adds/Removes a global error informing the user that an external extension
16 // was installed. If |is_new_profile| is true, then this error is from the
17 // first time our profile checked for new external extensions.
18 void AddExternalInstallError(ExtensionService* service,
19 const Extension* extension,
20 bool is_new_profile);
21 void RemoveExternalInstallError(ExtensionService* service);
23 bool HasExternalInstallError(ExtensionService* service);
25 // Used for testing.
26 bool HasExternalInstallBubble(ExtensionService* service);
28 } // namespace extensions
30 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_