1// Copyright (c) 2011 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_INSTALL_DIALOG_H_ 6#define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_DIALOG_H_ 7#pragma once 8 9#include <vector> 10 11#include "base/string16.h" 12#include "chrome/browser/extensions/extension_install_ui.h" 13 14class Extension; 15class Profile; 16class SkBitmap; 17 18// The implementations of this function are platform-specific. 19void ShowExtensionInstallDialog(Profile* profile, 20 ExtensionInstallUI::Delegate* delegate, 21 const Extension* extension, 22 SkBitmap* icon, 23 const std::vector<string16>& permissions, 24 ExtensionInstallUI::PromptType type); 25 26#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_DIALOG_H_ 27