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_SERVICE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_SHILL_SERVICE_CLIENT_H_ |
6 #define CHROMEOS_DBUS_FAKE_SHILL_SERVICE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_SHILL_SERVICE_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual ShillServiceClient::TestInterface* GetTestInterface() OVERRIDE; | 76 virtual ShillServiceClient::TestInterface* GetTestInterface() OVERRIDE; |
77 | 77 |
78 // ShillServiceClient::TestInterface overrides. | 78 // ShillServiceClient::TestInterface overrides. |
79 virtual void AddService(const std::string& service_path, | 79 virtual void AddService(const std::string& service_path, |
80 const std::string& name, | 80 const std::string& name, |
81 const std::string& type, | 81 const std::string& type, |
82 const std::string& state, | 82 const std::string& state, |
83 bool add_to_visible_list, | 83 bool add_to_visible_list, |
84 bool add_to_watch_list) OVERRIDE; | 84 bool add_to_watch_list) OVERRIDE; |
85 virtual void AddServiceWithIPConfig(const std::string& service_path, | 85 virtual void AddServiceWithIPConfig(const std::string& service_path, |
| 86 const std::string& guid, |
86 const std::string& name, | 87 const std::string& name, |
87 const std::string& type, | 88 const std::string& type, |
88 const std::string& state, | 89 const std::string& state, |
89 const std::string& ipconfig_path, | 90 const std::string& ipconfig_path, |
90 bool add_to_visible_list, | 91 bool add_to_visible_list, |
91 bool add_to_watch_list) OVERRIDE; | 92 bool add_to_watch_list) OVERRIDE; |
92 virtual void RemoveService(const std::string& service_path) OVERRIDE; | 93 virtual void RemoveService(const std::string& service_path) OVERRIDE; |
93 virtual bool SetServiceProperty(const std::string& service_path, | 94 virtual bool SetServiceProperty(const std::string& service_path, |
94 const std::string& property, | 95 const std::string& property, |
95 const base::Value& value) OVERRIDE; | 96 const base::Value& value) OVERRIDE; |
(...skipping 30 matching lines...) Expand all Loading... |
126 // Note: This should remain the last member so it'll be destroyed and | 127 // Note: This should remain the last member so it'll be destroyed and |
127 // invalidate its weak pointers before any other members are destroyed. | 128 // invalidate its weak pointers before any other members are destroyed. |
128 base::WeakPtrFactory<FakeShillServiceClient> weak_ptr_factory_; | 129 base::WeakPtrFactory<FakeShillServiceClient> weak_ptr_factory_; |
129 | 130 |
130 DISALLOW_COPY_AND_ASSIGN(FakeShillServiceClient); | 131 DISALLOW_COPY_AND_ASSIGN(FakeShillServiceClient); |
131 }; | 132 }; |
132 | 133 |
133 } // namespace chromeos | 134 } // namespace chromeos |
134 | 135 |
135 #endif // CHROMEOS_DBUS_FAKE_SHILL_SERVICE_CLIENT_H_ | 136 #endif // CHROMEOS_DBUS_FAKE_SHILL_SERVICE_CLIENT_H_ |
OLD | NEW |