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

Unified Diff: chrome/browser/extensions/webstore_inline_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_inline_installer.h
diff --git a/chrome/browser/extensions/webstore_inline_installer.h b/chrome/browser/extensions/webstore_inline_installer.h
index 9e11fa42e630eb0dff533f2c5aa7519dfe3bb00e..51470337b8894473f63e6f59cba58f8c466f965f 100644
--- a/chrome/browser/extensions/webstore_inline_installer.h
+++ b/chrome/browser/extensions/webstore_inline_installer.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_INLINE_INSTALLER_H_
#define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INLINE_INSTALLER_H_
+#include <memory>
#include <string>
#include "base/macros.h"
@@ -49,6 +50,7 @@ class WebstoreInlineInstaller : public WebstoreStandaloneInstaller,
~WebstoreInlineInstaller() override;
// Implementations WebstoreStandaloneInstaller Template Method's hooks.
+ void OnBeforeWebstoreDataRequest(WebstoreDataFetcher* fetcher) override;
bool CheckRequestorAlive() const override;
const GURL& GetRequestorURL() const override;
bool ShouldShowPostInstallUI() const override;
@@ -73,6 +75,9 @@ class WebstoreInlineInstaller : public WebstoreStandaloneInstaller,
static bool IsRequestorURLInVerifiedSite(const GURL& requestor_url,
const std::string& verified_site);
+ void StartWebstoreDataRequest(WebstoreDataFetcher* fetcher,
+ const std::vector<GURL> redirect_list);
+
// This corresponds to the frame that initiated the install request.
content::RenderFrameHost* host_;
GURL requestor_url_;

Powered by Google App Engine
This is Rietveld 408576698