Chromium Code Reviews| Index: chrome/browser/chromeos/net/network_portal_detector_stub.h |
| diff --git a/chrome/browser/chromeos/net/network_portal_detector_stub.h b/chrome/browser/chromeos/net/network_portal_detector_stub.h |
| index dae577662685944d4388fd763fbb87fc4e5b5a64..3ff7d577979b6c6b0b3d83982f8c9059cecbfbd4 100644 |
| --- a/chrome/browser/chromeos/net/network_portal_detector_stub.h |
| +++ b/chrome/browser/chromeos/net/network_portal_detector_stub.h |
| @@ -27,7 +27,7 @@ class NetworkPortalDetectorStub : public NetworkPortalDetector { |
| virtual void AddAndFireObserver(Observer* observer) OVERRIDE; |
| virtual void RemoveObserver(Observer* observer) OVERRIDE; |
| virtual CaptivePortalState GetCaptivePortalState( |
| - const chromeos::Network* network) OVERRIDE; |
| + const chromeos::NetworkState* network) OVERRIDE; |
| virtual bool IsEnabled() OVERRIDE; |
| virtual void Enable(bool start_detection) OVERRIDE; |
| virtual void EnableLazyDetection() OVERRIDE; |
| @@ -39,13 +39,13 @@ class NetworkPortalDetectorStub : public NetworkPortalDetector { |
| typedef std::string NetworkId; |
| typedef base::hash_map<NetworkId, CaptivePortalState> CaptivePortalStateMap; |
| - void SetActiveNetworkForTesting(const Network* network); |
| - void SetDetectionResultsForTesting(const Network* network, |
| + void SetDefaultNetworkForTesting(const NetworkState* network); |
| + void SetDetectionResultsForTesting(const NetworkState* network, |
| const CaptivePortalState& state); |
| void NotifyObserversForTesting(); |
| ObserverList<Observer> observers_; |
| - const Network* active_network_; |
| + const NetworkState* default_network_; |
|
stevenjb
2013/05/14 15:46:16
I know this is just a stub, but I'd still rather c
gauravsh
2013/05/14 21:51:15
I noticed that UpdateScreenBrowserTest doesn't rea
|
| CaptivePortalStateMap portal_state_map_; |
| DISALLOW_COPY_AND_ASSIGN(NetworkPortalDetectorStub); |