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. 4 5 #include "chrome/browser/ui/app_list/search/webstore/webstore_installer.h" 6 7 namespace app_list { 8 9 WebstoreInstaller::WebstoreInstaller(const std::string& webstore_item_id, 10 Profile* profile, 11 gfx::NativeWindow parent_window, 12 const Callback& callback) 13 : WebstoreInstallWithPrompt(webstore_item_id, 14 profile, 15 parent_window, 16 callback) { 17 set_install_source( 18 extensions::WebstoreInstaller::INSTALL_SOURCE_APP_LAUNCHER); 19 } 20 21 WebstoreInstaller::~WebstoreInstaller() {} 22 23 } // namespace app_list 24