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

Side by Side Diff: chromeos/network/device_state.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_DEVICE_STATE_H_ 5 #ifndef CHROMEOS_NETWORK_DEVICE_STATE_H_
6 #define CHROMEOS_NETWORK_DEVICE_STATE_H_ 6 #define CHROMEOS_NETWORK_DEVICE_STATE_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chromeos/network/managed_state.h" 9 #include "chromeos/network/managed_state.h"
10 #include "chromeos/network/network_util.h" 10 #include "chromeos/network/network_util.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 // Simple class to provide device state information. Similar to NetworkState; 14 // Simple class to provide device state information. Similar to NetworkState;
15 // see network_state.h for usage guidelines. 15 // see network_state.h for usage guidelines.
16 class CHROMEOS_EXPORT DeviceState : public ManagedState { 16 class CHROMEOS_EXPORT DeviceState : public ManagedState {
17 public: 17 public:
18 typedef std::vector<CellularScanResult> CellularScanResults; 18 typedef std::vector<CellularScanResult> CellularScanResults;
19 19
20 explicit DeviceState(const std::string& path); 20 explicit DeviceState(const std::string& path);
21 virtual ~DeviceState(); 21 virtual ~DeviceState();
22 22
23 // ManagedState overrides 23 // ManagedState overrides
24 virtual bool PropertyChanged(const std::string& key, 24 virtual bool PropertyChanged(const std::string& key,
25 const base::Value& value) OVERRIDE; 25 const base::Value& value) override;
26 virtual bool InitialPropertiesReceived( 26 virtual bool InitialPropertiesReceived(
27 const base::DictionaryValue& properties) OVERRIDE; 27 const base::DictionaryValue& properties) override;
28 28
29 void IPConfigPropertiesChanged(const std::string& ip_config_path, 29 void IPConfigPropertiesChanged(const std::string& ip_config_path,
30 const base::DictionaryValue& properties); 30 const base::DictionaryValue& properties);
31 31
32 // Accessors 32 // Accessors
33 const std::string& mac_address() const { return mac_address_; } 33 const std::string& mac_address() const { return mac_address_; }
34 34
35 // Cellular specific accessors 35 // Cellular specific accessors
36 const std::string& home_provider_id() const { return home_provider_id_; } 36 const std::string& home_provider_id() const { return home_provider_id_; }
37 bool allow_roaming() const { return allow_roaming_; } 37 bool allow_roaming() const { return allow_roaming_; }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // Dictionary of IPConfig properties, keyed by IpConfig path. 95 // Dictionary of IPConfig properties, keyed by IpConfig path.
96 base::DictionaryValue ip_configs_; 96 base::DictionaryValue ip_configs_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(DeviceState); 98 DISALLOW_COPY_AND_ASSIGN(DeviceState);
99 }; 99 };
100 100
101 } // namespace chromeos 101 } // namespace chromeos
102 102
103 #endif // CHROMEOS_NETWORK_DEVICE_STATE_H_ 103 #endif // CHROMEOS_NETWORK_DEVICE_STATE_H_
OLDNEW
« no previous file with comments | « chromeos/network/client_cert_resolver_unittest.cc ('k') | chromeos/network/dhcp_proxy_script_fetcher_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698