| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ | 5 #ifndef COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ |
| 6 #define COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ | 6 #define COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 void GetProperties(const std::string& network_guid, | 27 void GetProperties(const std::string& network_guid, |
| 28 base::DictionaryValue* properties, | 28 base::DictionaryValue* properties, |
| 29 std::string* error) override; | 29 std::string* error) override; |
| 30 void GetManagedProperties(const std::string& network_guid, | 30 void GetManagedProperties(const std::string& network_guid, |
| 31 base::DictionaryValue* managed_properties, | 31 base::DictionaryValue* managed_properties, |
| 32 std::string* error) override; | 32 std::string* error) override; |
| 33 void GetState(const std::string& network_guid, | 33 void GetState(const std::string& network_guid, |
| 34 base::DictionaryValue* properties, | 34 base::DictionaryValue* properties, |
| 35 std::string* error) override; | 35 std::string* error) override; |
| 36 void SetProperties(const std::string& network_guid, | 36 void SetProperties(const std::string& network_guid, |
| 37 scoped_ptr<base::DictionaryValue> properties, | 37 std::unique_ptr<base::DictionaryValue> properties, |
| 38 std::string* error) override; | 38 std::string* error) override; |
| 39 void CreateNetwork(bool shared, | 39 void CreateNetwork(bool shared, |
| 40 scoped_ptr<base::DictionaryValue> properties, | 40 std::unique_ptr<base::DictionaryValue> properties, |
| 41 std::string* network_guid, | 41 std::string* network_guid, |
| 42 std::string* error) override; | 42 std::string* error) override; |
| 43 void GetVisibleNetworks(const std::string& network_type, | 43 void GetVisibleNetworks(const std::string& network_type, |
| 44 base::ListValue* network_list, | 44 base::ListValue* network_list, |
| 45 bool include_details) override; | 45 bool include_details) override; |
| 46 void RequestNetworkScan() override; | 46 void RequestNetworkScan() override; |
| 47 void StartConnect(const std::string& network_guid, | 47 void StartConnect(const std::string& network_guid, |
| 48 std::string* error) override; | 48 std::string* error) override; |
| 49 void StartDisconnect(const std::string& network_guid, | 49 void StartDisconnect(const std::string& network_guid, |
| 50 std::string* error) override; | 50 std::string* error) override; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 74 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; | 74 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
| 75 NetworkGuidListCallback networks_changed_observer_; | 75 NetworkGuidListCallback networks_changed_observer_; |
| 76 NetworkGuidListCallback network_list_changed_observer_; | 76 NetworkGuidListCallback network_list_changed_observer_; |
| 77 | 77 |
| 78 DISALLOW_COPY_AND_ASSIGN(FakeWiFiService); | 78 DISALLOW_COPY_AND_ASSIGN(FakeWiFiService); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 } // namespace wifi | 81 } // namespace wifi |
| 82 | 82 |
| 83 #endif // COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ | 83 #endif // COMPONENTS_WIFI_FAKE_WIFI_SERVICE_H_ |
| OLD | NEW |