Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_DBUS_SHILL_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 45 bool add_to_watch_list) = 0; | 45 bool add_to_watch_list) = 0; |
| 46 virtual void AddServiceAtIndex(const std::string& service_path, | 46 virtual void AddServiceAtIndex(const std::string& service_path, |
| 47 size_t index, | 47 size_t index, |
| 48 bool add_to_watch_list) = 0; | 48 bool add_to_watch_list) = 0; |
| 49 virtual void RemoveService(const std::string& service_path) = 0; | 49 virtual void RemoveService(const std::string& service_path) = 0; |
| 50 virtual void ClearServices() = 0; | 50 virtual void ClearServices() = 0; |
| 51 virtual void AddTechnology(const std::string& type, bool enabled) = 0; | 51 virtual void AddTechnology(const std::string& type, bool enabled) = 0; |
| 52 virtual void RemoveTechnology(const std::string& type) = 0; | 52 virtual void RemoveTechnology(const std::string& type) = 0; |
| 53 virtual void AddGeoNetwork(const std::string& technology, | 53 virtual void AddGeoNetwork(const std::string& technology, |
| 54 const base::DictionaryValue& network) = 0; | 54 const base::DictionaryValue& network) = 0; |
| 55 | |
| 56 // Used to reset all properties; does not notify observers. | 55 // Used to reset all properties; does not notify observers. |
|
pneubeck (no reviews)
2013/03/28 10:37:54
keep the empty line (in front of comments)
gauravsh
2013/03/28 18:48:54
Done.
| |
| 57 virtual void ClearProperties() = 0; | 56 virtual void ClearProperties() = 0; |
| 58 | 57 |
| 59 protected: | 58 protected: |
| 60 ~TestInterface() {} | 59 ~TestInterface() {} |
| 61 }; | 60 }; |
| 62 | 61 |
| 63 virtual ~ShillManagerClient(); | 62 virtual ~ShillManagerClient(); |
| 64 | 63 |
| 65 // Factory function, creates a new instance which is owned by the caller. | 64 // Factory function, creates a new instance which is owned by the caller. |
| 66 // For normal usage, access the singleton via DBusThreadManager::Get(). | 65 // For normal usage, access the singleton via DBusThreadManager::Get(). |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 172 // Create() should be used instead. | 171 // Create() should be used instead. |
| 173 ShillManagerClient(); | 172 ShillManagerClient(); |
| 174 | 173 |
| 175 private: | 174 private: |
| 176 DISALLOW_COPY_AND_ASSIGN(ShillManagerClient); | 175 DISALLOW_COPY_AND_ASSIGN(ShillManagerClient); |
| 177 }; | 176 }; |
| 178 | 177 |
| 179 } // namespace chromeos | 178 } // namespace chromeos |
| 180 | 179 |
| 181 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ | 180 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ |
| OLD | NEW |