Adding instrumentation to locate the source of jankiness
[chromium-blink-merge.git] / chrome / browser / extensions / extension_install_ui_util.h
blobdbb7b63dc67de51cbe8d4f8ab74fbaaf1c9d1985
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.
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_UTIL_H_
8 #include "chrome/browser/extensions/webstore_installer.h"
10 class Profile;
12 namespace extensions {
13 namespace install_ui {
15 // Creates an ExtensionInstallUI and copies properties from an approval. Calls
16 // ExtensionInstallUI::OnInstallSuccess() to show the post-install UI for an
17 // extension.
18 void ShowPostInstallUIForApproval(Profile* profile,
19 const WebstoreInstaller::Approval& approval,
20 const Extension* extension);
22 } // namespace install_ui
23 } // namespace extensions
25 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_UTIL_H_