Index: chrome/browser/interstitials/security_interstitial_page.h |
diff --git a/chrome/browser/interstitials/security_interstitial_page.h b/chrome/browser/interstitials/security_interstitial_page.h |
index 802db9ba5691dce7313ae3a3674ce463091ca268..5b561096650ac01851282a47bc8612c23937a3f3 100644 |
--- a/chrome/browser/interstitials/security_interstitial_page.h |
+++ b/chrome/browser/interstitials/security_interstitial_page.h |
@@ -26,6 +26,7 @@ class MetricsHelper; |
} |
class ChromeControllerClient; |
+class Profile; |
class SecurityInterstitialPage : public content::InterstitialPageDelegate { |
public: |
@@ -63,6 +64,9 @@ class SecurityInterstitialPage : public content::InterstitialPageDelegate { |
content::WebContents* web_contents() const; |
GURL request_url() const; |
+ // Returns a pointer to the Profile associated with |web_contents_|. |
+ Profile* profile(); |
+ |
// Returns the boolean value of the given |pref| from the PrefService of the |
// Profile associated with |web_contents_|. |
bool IsPrefEnabled(const char* pref); |