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

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: rebase again Created 7 years, 7 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 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;

Powered by Google App Engine
This is Rietveld 408576698