summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/webstore_inline_installer_factory.cc
blob: 06f45928b35008591ed76db1a1553eccd369d2e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/memory/scoped_ptr.h"
#include "chrome/browser/extensions/webstore_inline_installer.h"
#include "chrome/browser/extensions/webstore_inline_installer_factory.h"
#include "content/public/browser/web_contents.h"

namespace extensions {

WebstoreInlineInstaller* WebstoreInlineInstallerFactory::CreateInstaller(
      content::WebContents* contents,
      const std::string& webstore_item_id,
      const GURL& requestor_url,
      const WebstoreStandaloneInstaller::Callback& callback) {
  return new WebstoreInlineInstaller(
      contents, webstore_item_id, requestor_url, callback);
}

}  // namespace extensions