Add a webstorePrivate API to show a permission prompt for delegated bundle installs
[chromium-blink-merge.git] / chrome / browser / extensions / webstore_inline_installer_factory.cc
blob06f45928b35008591ed76db1a1553eccd369d2e4
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 #include "base/memory/scoped_ptr.h"
6 #include "chrome/browser/extensions/webstore_inline_installer.h"
7 #include "chrome/browser/extensions/webstore_inline_installer_factory.h"
8 #include "content/public/browser/web_contents.h"
10 namespace extensions {
12 WebstoreInlineInstaller* WebstoreInlineInstallerFactory::CreateInstaller(
13 content::WebContents* contents,
14 const std::string& webstore_item_id,
15 const GURL& requestor_url,
16 const WebstoreStandaloneInstaller::Callback& callback) {
17 return new WebstoreInlineInstaller(
18 contents, webstore_item_id, requestor_url, callback);
21 } // namespace extensions