- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / webstore_inline_installer_factory.cc
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 "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"
9
10 namespace extensions {
11
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);
19 }
20
21 }  // namespace extensions