OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_ |
| 7 |
| 8 class Browser; |
| 9 class ExtensionService; |
| 10 |
| 11 namespace extensions { |
| 12 |
| 13 class Extension; |
| 14 |
| 15 // Adds/Removes a global error informing the user that an external extension |
| 16 // was installed. |
| 17 bool AddExternalInstallError(ExtensionService* service, |
| 18 const Extension* extension); |
| 19 void RemoveExternalInstallError(ExtensionService* service); |
| 20 |
| 21 // Used for testing. |
| 22 bool HasExternalInstallError(ExtensionService* service); |
| 23 |
| 24 } // namespace extensions |
| 25 |
| 26 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_INSTALL_UI_H_ |
OLD | NEW |