Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(617)

Side by Side Diff: chrome/browser/extensions/extension_install_ui_util.h

Issue 634313004: Display dialog when app install succeeds / fails on Athena (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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_INSTALL_UI_UTIL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_UTIL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_UTIL_H_
7 7
8 #include "chrome/browser/extensions/webstore_installer.h" 8 #include "chrome/browser/extensions/webstore_installer.h"
9 9
10 class Profile; 10 namespace content {
11 class BrowserContext;
12 }
11 13
12 namespace extensions { 14 namespace extensions {
13 namespace install_ui { 15 namespace install_ui {
14 16
15 // Creates an ExtensionInstallUI and copies properties from an approval. Calls 17 // Creates an ExtensionInstallUI and copies properties from an approval. Calls
16 // ExtensionInstallUI::OnInstallSuccess() to show the post-install UI for an 18 // ExtensionInstallUI::OnInstallSuccess() to show the post-install UI for an
17 // extension. 19 // extension.
18 void ShowPostInstallUIForApproval(Profile* profile, 20 void ShowPostInstallUIForApproval(content::BrowserContext* context,
19 const WebstoreInstaller::Approval& approval, 21 const WebstoreInstaller::Approval& approval,
20 const Extension* extension); 22 const Extension* extension);
21 23
22 } // namespace install_ui 24 } // namespace install_ui
23 } // namespace extensions 25 } // namespace extensions
24 26
25 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_UTIL_H_ 27 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_UI_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_install_ui.cc ('k') | chrome/browser/extensions/extension_install_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698