Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / extension_install_ui_util.h
1 // Copyright 2014 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_UI_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_UTIL_H_
7
8 #include "chrome/browser/extensions/webstore_installer.h"
9
10 namespace content {
11 class BrowserContext;
12 }
13
14 namespace extensions {
15 namespace install_ui {
16
17 // Creates an ExtensionInstallUI and copies properties from an approval. Calls
18 // ExtensionInstallUI::OnInstallSuccess() to show the post-install UI for an
19 // extension.
20 void ShowPostInstallUIForApproval(content::BrowserContext* context,
21                                   const WebstoreInstaller::Approval& approval,
22                                   const Extension* extension);
23
24 }  // namespace install_ui
25 }  // namespace extensions
26
27 #endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_UTIL_H_