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

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

Issue 826743003: Update {virtual,override,final} to follow C++11 style chrome/browser/chromeos/net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_test_impl.h
diff --git a/chrome/browser/chromeos/net/network_portal_detector_test_impl.h b/chrome/browser/chromeos/net/network_portal_detector_test_impl.h
index 7dfb2ec79925586bb867fcae048d982f38b3f795..033d3258b18975aa4defe9ceb33be8e06abdedcf 100644
--- a/chrome/browser/chromeos/net/network_portal_detector_test_impl.h
+++ b/chrome/browser/chromeos/net/network_portal_detector_test_impl.h
@@ -19,7 +19,7 @@ namespace chromeos {
class NetworkPortalDetectorTestImpl : public NetworkPortalDetector {
public:
NetworkPortalDetectorTestImpl();
- virtual ~NetworkPortalDetectorTestImpl();
+ ~NetworkPortalDetectorTestImpl() override;
void SetDefaultNetworkForTesting(const std::string& guid);
void SetDetectionResultsForTesting(const std::string& guid,
@@ -27,16 +27,16 @@ class NetworkPortalDetectorTestImpl : public NetworkPortalDetector {
void NotifyObserversForTesting();
// NetworkPortalDetector implementation:
- virtual void AddObserver(Observer* observer) override;
- virtual void AddAndFireObserver(Observer* observer) override;
- virtual void RemoveObserver(Observer* observer) override;
- virtual CaptivePortalState GetCaptivePortalState(
+ void AddObserver(Observer* observer) override;
+ void AddAndFireObserver(Observer* observer) override;
+ void RemoveObserver(Observer* observer) override;
+ CaptivePortalState GetCaptivePortalState(
const std::string& service_path) override;
- virtual bool IsEnabled() override;
- virtual void Enable(bool start_detection) override;
- virtual bool StartDetectionIfIdle() override;
+ bool IsEnabled() override;
+ void Enable(bool start_detection) override;
+ bool StartDetectionIfIdle() override;
- virtual void SetStrategy(PortalDetectorStrategy::StrategyId id) override;
+ void SetStrategy(PortalDetectorStrategy::StrategyId id) override;
PortalDetectorStrategy::StrategyId strategy_id() const {
return strategy_id_;

Powered by Google App Engine
This is Rietveld 408576698