webstore_installer.cc revision 5f1c94371a64b3196d4be9466099bb892df9b88e
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 7namespace app_list { 8 9WebstoreInstaller::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 set_show_post_install_ui(false); 20} 21 22WebstoreInstaller::~WebstoreInstaller() {} 23 24} // namespace app_list 25