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

Unified Diff: components/wifi/fake_wifi_service.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/webdata/common/web_database_service.cc ('k') | components/wifi/wifi_service_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi/fake_wifi_service.h
diff --git a/components/wifi/fake_wifi_service.h b/components/wifi/fake_wifi_service.h
index 78274710963ff66f9d1ab80d22192a7f6ef0a9fe..a25f19153ce60fcf6d9edef15c5c9bd2887d7139 100644
--- a/components/wifi/fake_wifi_service.h
+++ b/components/wifi/fake_wifi_service.h
@@ -17,43 +17,43 @@ namespace wifi {
class FakeWiFiService : public WiFiService {
public:
FakeWiFiService();
- virtual ~FakeWiFiService();
+ ~FakeWiFiService() override;
- virtual void Initialize(
+ void Initialize(
scoped_refptr<base::SequencedTaskRunner> task_runner) override;
- virtual void UnInitialize() override;
- virtual void GetProperties(const std::string& network_guid,
- base::DictionaryValue* properties,
- std::string* error) override;
- virtual void GetManagedProperties(const std::string& network_guid,
- base::DictionaryValue* managed_properties,
- std::string* error) override;
- virtual void GetState(const std::string& network_guid,
- base::DictionaryValue* properties,
- std::string* error) override;
- virtual void SetProperties(const std::string& network_guid,
- scoped_ptr<base::DictionaryValue> properties,
- std::string* error) override;
- virtual void CreateNetwork(bool shared,
- scoped_ptr<base::DictionaryValue> properties,
- std::string* network_guid,
- std::string* error) override;
- virtual void GetVisibleNetworks(const std::string& network_type,
- base::ListValue* network_list,
- bool include_details) override;
- virtual void RequestNetworkScan() override;
- virtual void StartConnect(const std::string& network_guid,
+ void UnInitialize() override;
+ void GetProperties(const std::string& network_guid,
+ base::DictionaryValue* properties,
+ std::string* error) override;
+ void GetManagedProperties(const std::string& network_guid,
+ base::DictionaryValue* managed_properties,
std::string* error) override;
- virtual void StartDisconnect(const std::string& network_guid,
- std::string* error) override;
- virtual void GetKeyFromSystem(const std::string& network_guid,
- std::string* key_data,
- std::string* error) override;
- virtual void SetEventObservers(
+ void GetState(const std::string& network_guid,
+ base::DictionaryValue* properties,
+ std::string* error) override;
+ void SetProperties(const std::string& network_guid,
+ scoped_ptr<base::DictionaryValue> properties,
+ std::string* error) override;
+ void CreateNetwork(bool shared,
+ scoped_ptr<base::DictionaryValue> properties,
+ std::string* network_guid,
+ std::string* error) override;
+ void GetVisibleNetworks(const std::string& network_type,
+ base::ListValue* network_list,
+ bool include_details) override;
+ void RequestNetworkScan() override;
+ void StartConnect(const std::string& network_guid,
+ std::string* error) override;
+ void StartDisconnect(const std::string& network_guid,
+ std::string* error) override;
+ void GetKeyFromSystem(const std::string& network_guid,
+ std::string* key_data,
+ std::string* error) override;
+ void SetEventObservers(
scoped_refptr<base::MessageLoopProxy> message_loop_proxy,
const NetworkGuidListCallback& networks_changed_observer,
const NetworkGuidListCallback& network_list_changed_observer) override;
- virtual void RequestConnectedNetworkUpdate() override;
+ void RequestConnectedNetworkUpdate() override;
private:
NetworkList::iterator FindNetwork(const std::string& network_guid);
« no previous file with comments | « components/webdata/common/web_database_service.cc ('k') | components/wifi/wifi_service_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698