Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2123)

Unified Diff: chrome/browser/extensions/webstore_inline_installer_factory.cc

Issue 1554233005: Don't allow inline install if frame is deleted before user accepts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/webstore_inline_installer_factory.cc
diff --git a/chrome/browser/extensions/webstore_inline_installer_factory.cc b/chrome/browser/extensions/webstore_inline_installer_factory.cc
index 06f45928b35008591ed76db1a1553eccd369d2e4..e96b725320528acddbcb3c45e4c6819b3b061af3 100644
--- a/chrome/browser/extensions/webstore_inline_installer_factory.cc
+++ b/chrome/browser/extensions/webstore_inline_installer_factory.cc
@@ -10,12 +10,13 @@
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);
+ content::WebContents* contents,
+ content::RenderFrameHost* host,
+ const std::string& webstore_item_id,
+ const GURL& requestor_url,
+ const WebstoreStandaloneInstaller::Callback& callback) {
+ return new WebstoreInlineInstaller(contents, host, webstore_item_id,
+ requestor_url, callback);
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698