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 "base/memory/scoped_ptr.h" |
6 #include "chrome/browser/extensions/webstore_inline_installer.h" | 6 #include "chrome/browser/extensions/webstore_inline_installer.h" |
7 #include "chrome/browser/extensions/webstore_inline_installer_factory.h" | 7 #include "chrome/browser/extensions/webstore_inline_installer_factory.h" |
8 #include "content/public/browser/web_contents.h" | 8 #include "content/public/browser/web_contents.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
11 | 11 |
12 WebstoreInlineInstaller* WebstoreInlineInstallerFactory::CreateInstaller( | 12 WebstoreInlineInstaller* WebstoreInlineInstallerFactory::CreateInstaller( |
13 content::WebContents* contents, | 13 content::WebContents* contents, |
14 const std::string& webstore_item_id, | 14 content::RenderFrameHost* host, |
15 const GURL& requestor_url, | 15 const std::string& webstore_item_id, |
16 const WebstoreStandaloneInstaller::Callback& callback) { | 16 const GURL& requestor_url, |
17 return new WebstoreInlineInstaller( | 17 const WebstoreStandaloneInstaller::Callback& callback) { |
18 contents, webstore_item_id, requestor_url, callback); | 18 return new WebstoreInlineInstaller(contents, host, webstore_item_id, |
| 19 requestor_url, callback); |
19 } | 20 } |
20 | 21 |
21 } // namespace extensions | 22 } // namespace extensions |
OLD | NEW |