| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 | |
| 11 #include "chrome/browser/extensions/extension_install_ui.h" | 9 #include "chrome/browser/extensions/extension_install_ui.h" |
| 12 #include "chrome/common/extensions/extension_resource.h" | 10 #include "chrome/common/extensions/extension_resource.h" |
| 13 | 11 |
| 14 class Extension; | 12 class Extension; |
| 15 class ExtensionsService; | 13 class ExtensionsService; |
| 16 class Profile; | 14 class Profile; |
| 17 | 15 |
| 18 // Shows UI to inform the user that an extension was disabled after upgrading | 16 // Shows UI to inform the user that an extension was disabled after upgrading |
| 19 // to higher permissions. | 17 // to higher permissions. |
| 20 void ShowExtensionDisabledUI(ExtensionsService* service, Profile* profile, | 18 void ShowExtensionDisabledUI(ExtensionsService* service, Profile* profile, |
| 21 Extension* extension); | 19 Extension* extension); |
| 22 | 20 |
| 23 // Shows the extension install dialog. | 21 // Shows the extension install dialog. |
| 24 void ShowExtensionDisabledDialog(ExtensionsService* service, Profile* profile, | 22 void ShowExtensionDisabledDialog(ExtensionsService* service, Profile* profile, |
| 25 Extension* extension); | 23 Extension* extension); |
| 26 | 24 |
| 27 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ | 25 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ |
| OLD | NEW |