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

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

Issue 2655823002: Include referrer chain with inline install requests. (Closed)
Patch Set: cleanup Created 3 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_standalone_installer.cc
diff --git a/chrome/browser/extensions/webstore_standalone_installer.cc b/chrome/browser/extensions/webstore_standalone_installer.cc
index 84f1905e3959975cd4237ff408facc824ade74e4..fd7f091c90715af0ad33191d52dc2708cc5ee23c 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());
Devlin 2017/01/27 20:31:34 (Following up from the other comment) So here, we
robertshield 2017/01/28 03:58:48 Done.
}
//
@@ -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();
}

Powered by Google App Engine
This is Rietveld 408576698