Index: chrome/browser/chromeos/net/network_portal_detector.h |
diff --git a/chrome/browser/chromeos/net/network_portal_detector.h b/chrome/browser/chromeos/net/network_portal_detector.h |
index b67980ce8abaa37ea5bdf604b76bd63321200735..fba5a6f0861b8992d227b73b1f58e1d592eb4bc1 100644 |
--- a/chrome/browser/chromeos/net/network_portal_detector.h |
+++ b/chrome/browser/chromeos/net/network_portal_detector.h |
@@ -10,7 +10,7 @@ |
namespace chromeos { |
-class Network; |
+class NetworkState; |
// This class handles all notifications about network changes from |
// NetworkLibrary and delegates portal detection for the active |
@@ -46,7 +46,7 @@ class NetworkPortalDetector { |
// detection is in process for the active network. Note, that |
// |network| may be NULL. |
virtual void OnPortalDetectionCompleted( |
- const Network* network, |
+ const NetworkState* network, |
const CaptivePortalState& state) = 0; |
protected: |
@@ -76,7 +76,7 @@ class NetworkPortalDetector { |
// Returns Captive Portal state for a given |network|. |
virtual CaptivePortalState GetCaptivePortalState( |
- const chromeos::Network* network) = 0; |
+ const chromeos::NetworkState* network) = 0; |
// Returns true if portal detection is enabled. |
virtual bool IsEnabled() = 0; |