| 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..18b11f7e048a9b4db7a2b34468585343cfbf8aab 100644
|
| --- a/chrome/browser/extensions/webstore_inline_installer.h
|
| +++ b/chrome/browser/extensions/webstore_inline_installer.h
|
| @@ -5,11 +5,14 @@
|
| #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_INLINE_INSTALLER_H_
|
| #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_INLINE_INSTALLER_H_
|
|
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/task/cancelable_task_tracker.h"
|
| #include "chrome/browser/extensions/webstore_standalone_installer.h"
|
| +#include "components/history/core/browser/history_types.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
|
|
| namespace content {
|
| @@ -49,6 +52,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,10 +77,15 @@ class WebstoreInlineInstaller : public WebstoreStandaloneInstaller,
|
| static bool IsRequestorURLInVerifiedSite(const GURL& requestor_url,
|
| const std::string& verified_site);
|
|
|
| + void StartWebstoreDataRequest(
|
| + WebstoreDataFetcher* fetcher, const history::RedirectList* redirect_list);
|
| +
|
| // This corresponds to the frame that initiated the install request.
|
| content::RenderFrameHost* host_;
|
| GURL requestor_url_;
|
|
|
| + base::CancelableTaskTracker request_tracker_; // For HistoryService lookup.
|
| +
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(WebstoreInlineInstaller);
|
| };
|
|
|
|
|