Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3184)

Unified Diff: chrome/browser/chromeos/login/oobe_base_test.cc

Issue 242483003: Move CaptivePortalDetector to src/components/captive_portal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move CaptivePortalDetector to a component Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/oobe_base_test.cc
diff --git a/chrome/browser/chromeos/login/oobe_base_test.cc b/chrome/browser/chromeos/login/oobe_base_test.cc
index 1baae3f0c6c7216824b31ca9ca5b38d08487d6c4..68794defdb7bfc741fc503409ea66002fd6158c3 100644
--- a/chrome/browser/chromeos/login/oobe_base_test.cc
+++ b/chrome/browser/chromeos/login/oobe_base_test.cc
@@ -113,7 +113,7 @@ void OobeBaseTest::SetUpCommandLine(CommandLine* command_line) {
void OobeBaseTest::SimulateNetworkOffline() {
NetworkPortalDetector::CaptivePortalState offline_state;
- offline_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_OFFLINE;
+ offline_state.status = captive_portal::CAPTIVE_PORTAL_STATUS_OFFLINE;
network_portal_detector_->SetDetectionResultsForTesting(
kStubEthernetServicePath, offline_state);
network_portal_detector_->NotifyObserversForTesting();
@@ -126,7 +126,7 @@ base::Closure OobeBaseTest::SimulateNetworkOfflineClosure() {
void OobeBaseTest::SimulateNetworkOnline() {
NetworkPortalDetector::CaptivePortalState online_state;
- online_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_ONLINE;
+ online_state.status = captive_portal::CAPTIVE_PORTAL_STATUS_ONLINE;
online_state.response_code = 204;
network_portal_detector_->SetDetectionResultsForTesting(
kStubEthernetServicePath, online_state);
@@ -140,7 +140,7 @@ base::Closure OobeBaseTest::SimulateNetworkOnlineClosure() {
void OobeBaseTest::SimulateNetworkPortal() {
NetworkPortalDetector::CaptivePortalState portal_state;
- portal_state.status = NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL;
+ portal_state.status = captive_portal::CAPTIVE_PORTAL_STATUS_PORTAL;
network_portal_detector_->SetDetectionResultsForTesting(
kStubEthernetServicePath, portal_state);
network_portal_detector_->NotifyObserversForTesting();

Powered by Google App Engine
This is Rietveld 408576698