Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 137 base::DictionaryValue stub_properties_; | 137 base::DictionaryValue stub_properties_; |
| 138 | 138 |
| 139 // Dictionary of technology -> list of property dictionaries | 139 // Dictionary of technology -> list of property dictionaries |
| 140 base::DictionaryValue stub_geo_networks_; | 140 base::DictionaryValue stub_geo_networks_; |
| 141 | 141 |
| 142 // Seconds to delay interactive actions | 142 // Seconds to delay interactive actions |
| 143 int interactive_delay_; | 143 int interactive_delay_; |
| 144 | 144 |
| 145 // Initial state for fake services. | 145 // Initial state for fake services. |
| 146 std::map<std::string, std::string> shill_initial_state_map_; | 146 std::map<std::string, std::string> shill_initial_state_map_; |
| 147 typedef std::map<std::string, base::Value*> ShillPropertyMap; | |
| 148 typedef std::map<std::string, ShillPropertyMap> DevicePropertyMap; | |
| 149 DevicePropertyMap shill_device_property_map_; | |
|
stevenjb
2014/07/18 00:29:40
This is kind of overkill for what is currently a s
| |
| 147 | 150 |
| 148 ObserverList<ShillPropertyChangedObserver> observer_list_; | 151 ObserverList<ShillPropertyChangedObserver> observer_list_; |
| 149 | 152 |
| 150 // Note: This should remain the last member so it'll be destroyed and | 153 // Note: This should remain the last member so it'll be destroyed and |
| 151 // invalidate its weak pointers before any other members are destroyed. | 154 // invalidate its weak pointers before any other members are destroyed. |
| 152 base::WeakPtrFactory<FakeShillManagerClient> weak_ptr_factory_; | 155 base::WeakPtrFactory<FakeShillManagerClient> weak_ptr_factory_; |
| 153 | 156 |
| 154 // Track the default service for signaling Manager.DefaultService. | 157 // Track the default service for signaling Manager.DefaultService. |
| 155 std::string default_service_; | 158 std::string default_service_; |
| 156 | 159 |
| 157 // 'Best' service to connect to on ConnectToBestServices() calls. | 160 // 'Best' service to connect to on ConnectToBestServices() calls. |
| 158 std::string best_service_; | 161 std::string best_service_; |
| 159 | 162 |
| 160 DISALLOW_COPY_AND_ASSIGN(FakeShillManagerClient); | 163 DISALLOW_COPY_AND_ASSIGN(FakeShillManagerClient); |
| 161 }; | 164 }; |
| 162 | 165 |
| 163 } // namespace chromeos | 166 } // namespace chromeos |
| 164 | 167 |
| 165 #endif // CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ | 168 #endif // CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ |
| OLD | NEW |