| Index: chrome/browser/chromeos/net/network_portal_detector_impl.h
|
| diff --git a/chrome/browser/chromeos/net/network_portal_detector_impl.h b/chrome/browser/chromeos/net/network_portal_detector_impl.h
|
| index 042f6bd87f2df3bdeea695e0dd67592fed03ff22..c28afefd7577232dc4a2a393d36cd2cc2dc95bfd 100644
|
| --- a/chrome/browser/chromeos/net/network_portal_detector_impl.h
|
| +++ b/chrome/browser/chromeos/net/network_portal_detector_impl.h
|
| @@ -84,6 +84,8 @@ class NetworkPortalDetectorImpl : public NetworkPortalDetector,
|
| STATE_PORTAL_CHECK_PENDING,
|
| // Portal check is in progress.
|
| STATE_CHECKING_FOR_PORTAL,
|
| + // No portal check when successfully behind portal.
|
| + STATE_BEHIND_PORTAL_IDLE,
|
| };
|
|
|
| struct DetectionAttemptCompletedReport {
|
| @@ -170,6 +172,9 @@ class NetworkPortalDetectorImpl : public NetworkPortalDetector,
|
| bool is_checking_for_portal() const {
|
| return state_ == STATE_CHECKING_FOR_PORTAL;
|
| }
|
| + bool is_behind_portal_idle() const {
|
| + return state_ == STATE_BEHIND_PORTAL_IDLE;
|
| + }
|
|
|
| int same_detection_result_count_for_testing() const {
|
| return same_detection_result_count_;
|
|
|