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

Unified Diff: chrome/browser/interstitials/chrome_controller_client.h

Issue 2603433002: Move SecurityInterstitialPage into component (Closed)
Patch Set: missed some changes in rebase 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/interstitials/chrome_controller_client.h
diff --git a/chrome/browser/interstitials/chrome_controller_client.h b/chrome/browser/interstitials/chrome_controller_client.h
index 5f7c7fb10ee1fa85305f0810670a6cf714f61e20..6e2ff2862bcbcffc33174c0a839ad1bc202ff598 100644
--- a/chrome/browser/interstitials/chrome_controller_client.h
+++ b/chrome/browser/interstitials/chrome_controller_client.h
@@ -6,42 +6,24 @@
#define CHROME_BROWSER_INTERSTITIALS_CHROME_CONTROLLER_CLIENT_H_
#include "base/macros.h"
-#include "components/security_interstitials/core/controller_client.h"
+#include "components/security_interstitials/content/security_interstitial_controller_client.h"
namespace content {
-class InterstitialPage;
class WebContents;
}
// Provides embedder-specific logic for the security error page controller.
-class ChromeControllerClient : public security_interstitials::ControllerClient {
+class ChromeControllerClient
+ : public security_interstitials::SecurityInterstitialControllerClient {
public:
ChromeControllerClient(
content::WebContents* web_contents,
std::unique_ptr<security_interstitials::MetricsHelper> metrics_helper);
~ChromeControllerClient() override;
- void set_interstitial_page(content::InterstitialPage* interstitial_page);
-
// security_interstitials::ControllerClient overrides
bool CanLaunchDateAndTimeSettings() override;
void LaunchDateAndTimeSettings() override;
- void GoBack() override;
- void GoBackAfterNavigationCommitted() override;
- void Proceed() override;
- void Reload() override;
- void OpenUrlInCurrentTab(const GURL& url) override;
-
- PrefService* GetPrefService() override;
-
- protected:
- // security_interstitials::ControllerClient overrides
- const std::string& GetApplicationLocale() override;
- const std::string GetExtendedReportingPrefName() override;
-
- private:
- content::WebContents* web_contents_;
- content::InterstitialPage* interstitial_page_;
DISALLOW_COPY_AND_ASSIGN(ChromeControllerClient);
};
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_browsertest.cc ('k') | chrome/browser/interstitials/chrome_controller_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698