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 36342332b96a9be4e6977c6d2d8406dd013fb742..ee149d6b6ae0266e08606853987e5c181a3a9c3f 100644 |
--- a/chrome/browser/interstitials/chrome_controller_client.h |
+++ b/chrome/browser/interstitials/chrome_controller_client.h |
@@ -7,17 +7,28 @@ |
#include "base/macros.h" |
#include "components/security_interstitials/core/controller_client.h" |
+#include "content/public/browser/interstitial_page.h" |
estark
2015/12/01 21:41:51
remove
felt
2015/12/01 22:59:23
Done.
|
namespace content { |
+class InterstitialPage; |
class WebContents; |
} |
+#include "content/public/browser/web_contents.h" |
estark
2015/12/01 21:41:51
woah, looks like you did something funny here :)
felt
2015/12/01 22:59:23
i have... absolutely no idea what happened here
|
+ |
// Provides embedder-specific logic for the security error page controller. |
class ChromeControllerClient : public security_interstitials::ControllerClient { |
public: |
explicit ChromeControllerClient(content::WebContents* web_contents); |
~ChromeControllerClient() override; |
+ void set_interstitial_page(content::InterstitialPage* interstitial_page); |
+ |
+ // security_interstitials::ControllerClient overrides |
+ bool CanLaunchDateAndTimeSettings() override; |
+ void LaunchDateAndTimeSettings() override; |
+ void GoBack() override; |
+ |
protected: |
// security_interstitials::ControllerClient overrides |
void OpenUrlInCurrentTab(const GURL& url) override; |
@@ -27,6 +38,7 @@ class ChromeControllerClient : public security_interstitials::ControllerClient { |
private: |
content::WebContents* web_contents_; |
+ content::InterstitialPage* interstitial_page_; |
DISALLOW_COPY_AND_ASSIGN(ChromeControllerClient); |
}; |