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

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

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
Index: chrome/browser/extensions/webstore_standalone_installer.h
diff --git a/chrome/browser/extensions/webstore_standalone_installer.h b/chrome/browser/extensions/webstore_standalone_installer.h
index ed79c38ff555be72a819bd65e9b8697a91014b46..ba8af4a01097dbd3a15f66979c242fdbb48302bd 100644
--- a/chrome/browser/extensions/webstore_standalone_installer.h
+++ b/chrome/browser/extensions/webstore_standalone_installer.h
@@ -95,6 +95,12 @@ class WebstoreStandaloneInstaller
// Allows subclasses to set properties of the install data.
virtual void InitInstallData(ActiveInstallData* install_data) const;
+ // Gives subclasses an opportunity to customize the webstore data request
+ // (eg, add post data) before sending. The default implementation starts
+ // the request; subclasses overriding this are responsible for calling Start
+ // on the |fetcher| themselves once they are ready for it.
+ virtual void OnBeforeWebstoreDataRequest(WebstoreDataFetcher* fetcher);
+
// Called at certain check points of the workflow to decide whether it makes
// sense to proceed with installation. A requestor can be a website that
// initiated an inline installation, or a command line option.
« no previous file with comments | « chrome/browser/extensions/webstore_inline_installer.cc ('k') | chrome/browser/extensions/webstore_standalone_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698