| Index: chrome/browser/chromeos/login/ui/captive_portal_window_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/login/ui/captive_portal_window_browsertest.cc b/chrome/browser/chromeos/login/ui/captive_portal_window_browsertest.cc
|
| index 6fc8c19a67cf98003ea28f913556ec7a0637550b..2ee8b5572ef3d9f1a5d3f29746d1c1dcfba9e42b 100644
|
| --- a/chrome/browser/chromeos/login/ui/captive_portal_window_browsertest.cc
|
| +++ b/chrome/browser/chromeos/login/ui/captive_portal_window_browsertest.cc
|
| @@ -16,13 +16,12 @@
|
| #include "chrome/browser/chromeos/net/network_portal_detector_test_impl.h"
|
| #include "chrome/test/base/in_process_browser_test.h"
|
| #include "chromeos/chromeos_switches.h"
|
| +#include "chromeos/dbus/fake_shill_manager_client.h"
|
|
|
| namespace chromeos {
|
|
|
| namespace {
|
|
|
| -const char kStubEthernetServicePath[] = "eth1";
|
| -
|
| // Stub implementation of CaptivePortalWindowProxyDelegate, does
|
| // nothing and used to instantiate CaptivePortalWindowProxy.
|
| class CaptivePortalWindowProxyStubDelegate
|
| @@ -189,9 +188,9 @@ class CaptivePortalWindowCtorDtorTest : public LoginManagerTest {
|
| portal_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL;
|
| portal_state.response_code = 200;
|
| network_portal_detector_->SetDefaultNetworkPathForTesting(
|
| - kStubEthernetServicePath);
|
| + FakeShillManagerClient::kFakeEthernetNetworkPath);
|
| network_portal_detector_->SetDetectionResultsForTesting(
|
| - kStubEthernetServicePath, portal_state);
|
| + FakeShillManagerClient::kFakeEthernetNetworkPath, portal_state);
|
| }
|
|
|
| protected:
|
|
|