| Index: chrome/browser/captive_portal/captive_portal_service.cc
|
| diff --git a/chrome/browser/captive_portal/captive_portal_service.cc b/chrome/browser/captive_portal/captive_portal_service.cc
|
| index 4b6d6368074c8e5a132f79ed40b51c6ff57519f9..561695fe0482f830e7c6d3ebac4a168a64c6833e 100644
|
| --- a/chrome/browser/captive_portal/captive_portal_service.cc
|
| +++ b/chrome/browser/captive_portal/captive_portal_service.cc
|
| @@ -92,7 +92,7 @@ void RecordRepeatHistograms(CaptivePortalResult result,
|
| result_duration_histogram->AddTime(result_duration);
|
| }
|
|
|
| -int GetHistogramEntryForDetectionResult(
|
| +CaptivePortalDetectionResult GetHistogramEntryForDetectionResult(
|
| const captive_portal::CaptivePortalDetector::Results& results) {
|
| bool is_https = results.landing_url.SchemeIs("https");
|
| bool is_ip = results.landing_url.HostIsIPAddress();
|
| @@ -119,7 +119,7 @@ int GetHistogramEntryForDetectionResult(
|
| DETECTION_RESULT_BEHIND_CAPTIVE_PORTAL;
|
| default:
|
| NOTREACHED();
|
| - return -1;
|
| + return DETECTION_RESULT_COUNT;
|
| }
|
| }
|
|
|
|
|