Index: chrome/browser/extensions/api/networking_private/networking_private_apitest.cc |
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc b/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc |
index 5f04dfd6ec473ad7b64da3776bd2926ff0d1ab37..20e8a0f5b3152dfc46d2eaf3caf4acb9ba962855 100644 |
--- a/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc |
+++ b/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc |
@@ -510,17 +510,17 @@ IN_PROC_BROWSER_TEST_P(ExtensionNetworkingPrivateApiTest, |
IN_PROC_BROWSER_TEST_P(ExtensionNetworkingPrivateApiTest, |
GetCaptivePortalStatus) { |
NetworkPortalDetector::CaptivePortalState state; |
- state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE; |
+ state.status = captive_portal::CAPTIVE_PORTAL_STATUS_ONLINE; |
detector()->SetDetectionResultsForTesting("stub_ethernet", state); |
- state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_OFFLINE; |
+ state.status = captive_portal::CAPTIVE_PORTAL_STATUS_OFFLINE; |
detector()->SetDetectionResultsForTesting("stub_wifi1", state); |
- state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL; |
+ state.status = captive_portal::CAPTIVE_PORTAL_STATUS_PORTAL; |
detector()->SetDetectionResultsForTesting("stub_wifi2", state); |
state.status = |
- NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PROXY_AUTH_REQUIRED; |
+ captive_portal::CAPTIVE_PORTAL_STATUS_PROXY_AUTH_REQUIRED; |
detector()->SetDetectionResultsForTesting("stub_cellular1", state); |
EXPECT_TRUE(RunNetworkingSubtest("getCaptivePortalStatus")) << message_; |
@@ -530,7 +530,7 @@ IN_PROC_BROWSER_TEST_P(ExtensionNetworkingPrivateApiTest, |
CaptivePortalNotification) { |
detector()->SetDefaultNetworkPathForTesting("wifi"); |
NetworkPortalDetector::CaptivePortalState state; |
- state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE; |
+ state.status = captive_portal::CAPTIVE_PORTAL_STATUS_ONLINE; |
detector()->SetDetectionResultsForTesting("wifi", state); |
TestListener listener( |