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 123abb3d43cae6eeb3a8f511f2ca0714b34b3882..f70301a8808350255d1f8903543a5b0dfabdba31 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 |
@@ -45,7 +45,7 @@ class NetworkPortalDetector { |
// currently in the unknown state, for instance, if portal |
// detection is in process for the active network. |
virtual void OnPortalDetectionCompleted( |
- const Network* network, |
+ const NetworkState* network, |
const CaptivePortalState& state) = 0; |
protected: |
@@ -75,7 +75,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; |