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

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

Issue 1997453003: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move changes in and out to fix compile Created 4 years, 7 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_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)

Powered by Google App Engine
This is Rietveld 408576698