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

Unified Diff: chrome/browser/chromeos/net/network_portal_detector.h

Issue 14134007: NetworkPortalDetector/NetworkStateInformer: Switch over to use NetworkStateHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add proxy_config Created 7 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/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;

Powered by Google App Engine
This is Rietveld 408576698