1 // Copyright 2013 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_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_
8 #include "chrome/browser/extensions/webstore_install_with_prompt.h"
14 // WebstoreInstaller handles install for web store search results.
15 class WebstoreInstaller : public extensions::WebstoreInstallWithPrompt {
17 typedef WebstoreStandaloneInstaller::Callback Callback;
19 WebstoreInstaller(const std::string& webstore_item_id,
21 gfx::NativeWindow parent_window,
22 const Callback& callback);
25 friend class base::RefCountedThreadSafe<WebstoreInstaller>;
26 ~WebstoreInstaller() override;
28 DISALLOW_COPY_AND_ASSIGN(WebstoreInstaller);
31 } // namespace app_list
33 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_INSTALLER_H_