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

Unified Diff: chrome/browser/ui/app_list/search/webstore/webstore_installer.h

Issue 298303002: Add option to install an ephemeral app to ChromeOS shelf context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed asargent's review comments Created 6 years, 7 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/ui/app_list/search/webstore/webstore_installer.h
diff --git a/chrome/browser/ui/app_list/search/webstore/webstore_installer.h b/chrome/browser/ui/app_list/search/webstore/webstore_installer.h
index fc1e88826da0788f6b00ba1c64f6fc287e5ec578..31e721f606889dcfa387ccf912df49b8358a5e70 100644
--- a/chrome/browser/ui/app_list/search/webstore/webstore_installer.h
+++ b/chrome/browser/ui/app_list/search/webstore/webstore_installer.h
@@ -5,19 +5,14 @@
#ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_
#define CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_
-#include <string>
-
-#include "base/basictypes.h"
-#include "chrome/browser/extensions/webstore_startup_installer.h"
-#include "content/public/browser/page_navigator.h"
+#include "chrome/browser/extensions/webstore_install_with_prompt.h"
class Profile;
namespace app_list {
// WebstoreInstaller handles install for web store search results.
-class WebstoreInstaller : public extensions::WebstoreStartupInstaller,
- public content::PageNavigator {
+class WebstoreInstaller : public extensions::WebstoreInstallWithPrompt {
public:
typedef WebstoreStandaloneInstaller::Callback Callback;
@@ -28,19 +23,8 @@ class WebstoreInstaller : public extensions::WebstoreStartupInstaller,
private:
friend class base::RefCountedThreadSafe<WebstoreInstaller>;
-
virtual ~WebstoreInstaller();
- // extensions::WebstoreStartupInstaller overrides:
- virtual scoped_ptr<ExtensionInstallPrompt> CreateInstallUI() OVERRIDE;
-
- // content::PageNavigator overrides:
- virtual content::WebContents* OpenURL(
- const content::OpenURLParams& params) OVERRIDE;
-
- Profile* profile_;
- gfx::NativeWindow parent_window_;
-
DISALLOW_COPY_AND_ASSIGN(WebstoreInstaller);
};

Powered by Google App Engine
This is Rietveld 408576698