Index: chrome/browser/interstitials/chrome_metrics_helper.h |
diff --git a/chrome/browser/interstitials/chrome_metrics_helper.h b/chrome/browser/interstitials/chrome_metrics_helper.h |
index 9b80931f40bcf86726eaf7f113045e25ee8f2a1c..9d5de223b2ea944034320582ab74599c10c5cbd3 100644 |
--- a/chrome/browser/interstitials/chrome_metrics_helper.h |
+++ b/chrome/browser/interstitials/chrome_metrics_helper.h |
@@ -46,7 +46,9 @@ class ChromeMetricsHelper : public security_interstitials::MetricsHelper { |
void RecordExtraShutdownMetrics() override; |
private: |
+#if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) || defined(ENABLE_EXTENSIONS) |
content::WebContents* web_contents_; |
+#endif |
const GURL request_url_; |
const std::string sampling_event_name_; |
#if defined(ENABLE_EXTENSIONS) |