| Index: chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc b/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc
|
| index c82a55c67cf7c9d26620c643a84e35d3b7fc0cfb..f9948accbe3dd75bdbe7dcdfbd3c4c9dc5f18cf7 100644
|
| --- a/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc
|
| +++ b/chrome/browser/chromeos/net/network_portal_detector_impl_browsertest.cc
|
| @@ -153,6 +153,11 @@ class NetworkPortalDetectorImplBrowserTest
|
|
|
| MessageCenter* message_center() { return MessageCenter::Get(); }
|
|
|
| + void SetIgnoreNoNetworkForTesting() {
|
| + network_portal_detector_->notification_controller_
|
| + ->SetIgnoreNoNetworkForTesting();
|
| + }
|
| +
|
| const NetworkPortalWebDialog* GetDialog() const {
|
| return network_portal_detector_->notification_controller_
|
| ->GetDialogForTesting();
|
| @@ -248,6 +253,8 @@ void NetworkPortalDetectorImplBrowserTestIgnoreProxy::TestImpl(
|
| LoginUser(kTestUser);
|
| content::RunAllPendingInMessageLoop();
|
|
|
| + SetIgnoreNoNetworkForTesting();
|
| +
|
| ProfileManager::GetActiveUserProfile()->GetPrefs()->SetBoolean(
|
| prefs::kCaptivePortalAuthenticationIgnoresProxy, preference_value);
|
|
|
|
|