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

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

Issue 2466263010: Include referrer chain with inline install requests
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/extensions/webstore_standalone_installer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/webstore_standalone_installer.cc
diff --git a/chrome/browser/extensions/webstore_standalone_installer.cc b/chrome/browser/extensions/webstore_standalone_installer.cc
index 3809bdc358d75e99e8c54ecc239ab0d714c1995c..c2ac30c6c4ccb17f439800d7086b45c283ae7fa1 100644
--- a/chrome/browser/extensions/webstore_standalone_installer.cc
+++ b/chrome/browser/extensions/webstore_standalone_installer.cc
@@ -69,7 +69,7 @@ void WebstoreStandaloneInstaller::BeginInstall() {
profile_->GetRequestContext(),
GetRequestorURL(),
id_));
- webstore_data_fetcher_->Start();
+ OnBeforeWebstoreDataRequest(webstore_data_fetcher_.get());
}
//
@@ -159,6 +159,11 @@ void WebstoreStandaloneInstaller::InitInstallData(
// Default implementation sets no properties.
}
+void WebstoreStandaloneInstaller::OnBeforeWebstoreDataRequest(
+ WebstoreDataFetcher* fetcher) {
+ webstore_data_fetcher_->Start();
+}
+
void WebstoreStandaloneInstaller::OnManifestParsed() {
ProceedWithInstallPrompt();
}
« no previous file with comments | « chrome/browser/extensions/webstore_standalone_installer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698