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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.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/ui/ash/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index 13c1084415c4e8e9ab9923c3a8a94a68cc6f2065..5e966eb552802ba9ee4958f61e87855dc4d0981c 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -908,7 +908,7 @@ bool SystemTrayDelegateChromeOS::IsNetworkBehindCaptivePortal(
const std::string& service_path) const {
NetworkPortalDetector::CaptivePortalState state =
NetworkPortalDetector::Get()->GetCaptivePortalState(service_path);
- return state.status == NetworkPortalDetector::CAPTIVE_PORTAL_STATUS_PORTAL;
+ return state.status == captive_portal::CAPTIVE_PORTAL_STATUS_PORTAL;
}
bool SystemTrayDelegateChromeOS::IsSearchKeyMappedToCapsLock() {

Powered by Google App Engine
This is Rietveld 408576698