extension_disabled_infobar_delegate.h revision 3345a6884c488ff3a535c2c9acdd33d74b37e311
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 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ 6#define CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ 7#pragma once 8 9class Extension; 10class ExtensionsService; 11class Profile; 12 13// Shows UI to inform the user that an extension was disabled after upgrading 14// to higher permissions. 15void ShowExtensionDisabledUI(ExtensionsService* service, Profile* profile, 16 Extension* extension); 17 18// Shows the extension install dialog. 19void ShowExtensionDisabledDialog(ExtensionsService* service, Profile* profile, 20 Extension* extension); 21 22#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DISABLED_INFOBAR_DELEGATE_H_ 23