| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 bool add_to_watch_list) = 0; | 49 bool add_to_watch_list) = 0; |
| 50 virtual void RemoveService(const std::string& service_path) = 0; | 50 virtual void RemoveService(const std::string& service_path) = 0; |
| 51 virtual void ClearServices() = 0; | 51 virtual void ClearServices() = 0; |
| 52 virtual void AddTechnology(const std::string& type, bool enabled) = 0; | 52 virtual void AddTechnology(const std::string& type, bool enabled) = 0; |
| 53 virtual void RemoveTechnology(const std::string& type) = 0; | 53 virtual void RemoveTechnology(const std::string& type) = 0; |
| 54 virtual void SetTechnologyInitializing(const std::string& type, | 54 virtual void SetTechnologyInitializing(const std::string& type, |
| 55 bool initializing) = 0; | 55 bool initializing) = 0; |
| 56 virtual void AddGeoNetwork(const std::string& technology, | 56 virtual void AddGeoNetwork(const std::string& technology, |
| 57 const base::DictionaryValue& network) = 0; | 57 const base::DictionaryValue& network) = 0; |
| 58 | 58 |
| 59 // Does not create an actual profile in the ProfileClient but update the |
| 60 // profiles list and sends a notification to observers. This should only be |
| 61 // called by the ProfileStub. In all other cases, use |
| 62 // ShillProfileClient::TestInterface::AddProfile. |
| 63 virtual void AddProfile(const std::string& profile_path) = 0; |
| 64 |
| 59 // Used to reset all properties; does not notify observers. | 65 // Used to reset all properties; does not notify observers. |
| 60 virtual void ClearProperties() = 0; | 66 virtual void ClearProperties() = 0; |
| 61 | 67 |
| 62 protected: | 68 protected: |
| 63 virtual ~TestInterface() {} | 69 virtual ~TestInterface() {} |
| 64 }; | 70 }; |
| 65 | 71 |
| 66 // Properties used to verify the origin device. | 72 // Properties used to verify the origin device. |
| 67 struct VerificationProperties { | 73 struct VerificationProperties { |
| 68 VerificationProperties(); | 74 VerificationProperties(); |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 // Create() should be used instead. | 214 // Create() should be used instead. |
| 209 ShillManagerClient(); | 215 ShillManagerClient(); |
| 210 | 216 |
| 211 private: | 217 private: |
| 212 DISALLOW_COPY_AND_ASSIGN(ShillManagerClient); | 218 DISALLOW_COPY_AND_ASSIGN(ShillManagerClient); |
| 213 }; | 219 }; |
| 214 | 220 |
| 215 } // namespace chromeos | 221 } // namespace chromeos |
| 216 | 222 |
| 217 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ | 223 #endif // CHROMEOS_DBUS_SHILL_MANAGER_CLIENT_H_ |
| OLD | NEW |