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

Side by Side Diff: chromeos/network/network_change_notifier_chromeos.h

Issue 628883002: replace OVERRIDE and FINAL with override and final in chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_
6 #define CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ 6 #define CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 15 matching lines...) Expand all
26 virtual ~NetworkChangeNotifierChromeos(); 26 virtual ~NetworkChangeNotifierChromeos();
27 27
28 // Starts observing changes from the network state handler. 28 // Starts observing changes from the network state handler.
29 void Initialize(); 29 void Initialize();
30 30
31 // Stops observing changes from the network state handler. 31 // Stops observing changes from the network state handler.
32 void Shutdown(); 32 void Shutdown();
33 33
34 // NetworkChangeNotifier overrides. 34 // NetworkChangeNotifier overrides.
35 virtual net::NetworkChangeNotifier::ConnectionType 35 virtual net::NetworkChangeNotifier::ConnectionType
36 GetCurrentConnectionType() const OVERRIDE; 36 GetCurrentConnectionType() const override;
37 37
38 // PowerManagerClient::Observer overrides. 38 // PowerManagerClient::Observer overrides.
39 virtual void SuspendDone(const base::TimeDelta& sleep_duration) OVERRIDE; 39 virtual void SuspendDone(const base::TimeDelta& sleep_duration) override;
40 40
41 // NetworkStateHandlerObserver overrides. 41 // NetworkStateHandlerObserver overrides.
42 virtual void DefaultNetworkChanged( 42 virtual void DefaultNetworkChanged(
43 const chromeos::NetworkState* default_network) OVERRIDE; 43 const chromeos::NetworkState* default_network) override;
44 44
45 private: 45 private:
46 FRIEND_TEST_ALL_PREFIXES(NetworkChangeNotifierChromeosTest, 46 FRIEND_TEST_ALL_PREFIXES(NetworkChangeNotifierChromeosTest,
47 ConnectionTypeFromShill); 47 ConnectionTypeFromShill);
48 friend class NetworkChangeNotifierChromeosUpdateTest; 48 friend class NetworkChangeNotifierChromeosUpdateTest;
49 49
50 class DnsConfigService; 50 class DnsConfigService;
51 51
52 // Updates the notifier state based on a default network update. 52 // Updates the notifier state based on a default network update.
53 // |connection_type_changed| is set to true if we must report a connection 53 // |connection_type_changed| is set to true if we must report a connection
(...skipping 25 matching lines...) Expand all
79 std::string service_path_; 79 std::string service_path_;
80 80
81 scoped_ptr<DnsConfigService> dns_config_service_; 81 scoped_ptr<DnsConfigService> dns_config_service_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierChromeos); 83 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierChromeos);
84 }; 84 };
85 85
86 } // namespace chromeos 86 } // namespace chromeos
87 87
88 #endif // CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_ 88 #endif // CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chromeos/network/network_cert_migrator_unittest.cc ('k') | chromeos/network/network_change_notifier_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698