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

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

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.h
diff --git a/chrome/browser/extensions/webstore_standalone_installer.h b/chrome/browser/extensions/webstore_standalone_installer.h
index 73110be587cb4aca068768e948ad475d69339ae9..5390a0bc80a0f7b77bb110253e56fe49feba923e 100644
--- a/chrome/browser/extensions/webstore_standalone_installer.h
+++ b/chrome/browser/extensions/webstore_standalone_installer.h
@@ -91,6 +91,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.

Powered by Google App Engine
This is Rietveld 408576698