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

Side by Side Diff: chrome/browser/chromeos/net/network_portal_detector_impl.h

Issue 818433003: ChromeOS: Implement CaptivePortalAuthenticationIgnoresProxy policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests fixed. Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // NetworkPortalDetector implementation: 70 // NetworkPortalDetector implementation:
71 void AddObserver(Observer* observer) override; 71 void AddObserver(Observer* observer) override;
72 void AddAndFireObserver(Observer* observer) override; 72 void AddAndFireObserver(Observer* observer) override;
73 void RemoveObserver(Observer* observer) override; 73 void RemoveObserver(Observer* observer) override;
74 CaptivePortalState GetCaptivePortalState(const std::string& guid) override; 74 CaptivePortalState GetCaptivePortalState(const std::string& guid) override;
75 bool IsEnabled() override; 75 bool IsEnabled() override;
76 void Enable(bool start_detection) override; 76 void Enable(bool start_detection) override;
77 bool StartDetectionIfIdle() override; 77 bool StartDetectionIfIdle() override;
78 void SetStrategy(PortalDetectorStrategy::StrategyId id) override; 78 void SetStrategy(PortalDetectorStrategy::StrategyId id) override;
79 void OnLockScreenRequest() override;
79 80
80 // NetworkStateHandlerObserver implementation: 81 // NetworkStateHandlerObserver implementation:
81 void DefaultNetworkChanged(const NetworkState* network) override; 82 void DefaultNetworkChanged(const NetworkState* network) override;
82 83
83 // PortalDetectorStrategy::Delegate implementation: 84 // PortalDetectorStrategy::Delegate implementation:
84 int NoResponseResultCount() override; 85 int NoResponseResultCount() override;
85 base::TimeTicks AttemptStartTime() override; 86 base::TimeTicks AttemptStartTime() override;
86 base::TimeTicks GetCurrentTimeTicks() override; 87 base::TimeTicks GetCurrentTimeTicks() override;
87 88
88 private: 89 private:
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 DetectionAttemptCompletedReport attempt_completed_report_; 263 DetectionAttemptCompletedReport attempt_completed_report_;
263 264
264 base::WeakPtrFactory<NetworkPortalDetectorImpl> weak_factory_; 265 base::WeakPtrFactory<NetworkPortalDetectorImpl> weak_factory_;
265 266
266 DISALLOW_COPY_AND_ASSIGN(NetworkPortalDetectorImpl); 267 DISALLOW_COPY_AND_ASSIGN(NetworkPortalDetectorImpl);
267 }; 268 };
268 269
269 } // namespace chromeos 270 } // namespace chromeos
270 271
271 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_ 272 #endif // CHROME_BROWSER_CHROMEOS_NET_NETWORK_PORTAL_DETECTOR_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/lock/screen_locker.cc ('k') | chrome/browser/chromeos/net/network_portal_detector_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698