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

Unified Diff: chrome/browser/extensions/extension_install_prompt.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_install_prompt.h
diff --git a/chrome/browser/extensions/extension_install_prompt.h b/chrome/browser/extensions/extension_install_prompt.h
index 57f00cb64676e2439d24e43de257f57c29e221e6..c50216fd577dfa0f3048e115b93fb29f1dda0865 100644
--- a/chrome/browser/extensions/extension_install_prompt.h
+++ b/chrome/browser/extensions/extension_install_prompt.h
@@ -15,7 +15,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
-#include "chrome/browser/extensions/crx_installer_error.h"
#include "chrome/browser/extensions/extension_install_prompt_experiment.h"
#include "extensions/common/url_pattern.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -23,7 +22,6 @@
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/native_widget_types.h"
-class ExtensionInstallUI;
class Profile;
namespace base {
@@ -38,7 +36,9 @@ class WebContents;
namespace extensions {
class BundleInstaller;
+class CrxInstallerError;
class Extension;
+class ExtensionInstallUI;
class ExtensionWebstorePrivateApiTest;
class MockGetAuthTokenFunction;
class PermissionSet;
@@ -325,7 +325,9 @@ class ExtensionInstallPrompt
virtual ~ExtensionInstallPrompt();
- ExtensionInstallUI* install_ui() const { return install_ui_.get(); }
+ extensions::ExtensionInstallUI* install_ui() const {
+ return install_ui_.get();
+ }
content::WebContents* parent_web_contents() const {
return show_params_.parent_web_contents;
@@ -439,6 +441,8 @@ class ExtensionInstallPrompt
// Shows the actual UI (the icon should already be loaded).
void ShowConfirmation();
+ Profile* profile_;
+
base::MessageLoop* ui_loop_;
// The extensions installation icon.
@@ -456,7 +460,7 @@ class ExtensionInstallPrompt
scoped_refptr<const extensions::PermissionSet> custom_permissions_;
// The object responsible for doing the UI specific actions.
- scoped_ptr<ExtensionInstallUI> install_ui_;
+ scoped_ptr<extensions::ExtensionInstallUI> install_ui_;
// Parameters to show the confirmation UI.
ShowParams show_params_;
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui.cc ('k') | chrome/browser/extensions/extension_install_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698