OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/memory/scoped_ptr.h" | 5 #include "chrome/browser/extensions/webstore_inline_installer_factory.h" |
| 6 |
| 7 #include <memory> |
| 8 |
6 #include "chrome/browser/extensions/webstore_inline_installer.h" | 9 #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 #include "content/public/browser/web_contents.h" |
9 | 11 |
10 namespace extensions { | 12 namespace extensions { |
11 | 13 |
12 WebstoreInlineInstaller* WebstoreInlineInstallerFactory::CreateInstaller( | 14 WebstoreInlineInstaller* WebstoreInlineInstallerFactory::CreateInstaller( |
13 content::WebContents* contents, | 15 content::WebContents* contents, |
14 content::RenderFrameHost* host, | 16 content::RenderFrameHost* host, |
15 const std::string& webstore_item_id, | 17 const std::string& webstore_item_id, |
16 const GURL& requestor_url, | 18 const GURL& requestor_url, |
17 const WebstoreStandaloneInstaller::Callback& callback) { | 19 const WebstoreStandaloneInstaller::Callback& callback) { |
18 return new WebstoreInlineInstaller(contents, host, webstore_item_id, | 20 return new WebstoreInlineInstaller(contents, host, webstore_item_id, |
19 requestor_url, callback); | 21 requestor_url, callback); |
20 } | 22 } |
21 | 23 |
22 } // namespace extensions | 24 } // namespace extensions |
OLD | NEW |