| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_SHILL_SERVICE_CLIENT_STUB_H_ | 5 #ifndef CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_STUB_H_ |
| 6 #define CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_STUB_H_ | 6 #define CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_STUB_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 const base::Closure& callback, | 51 const base::Closure& callback, |
| 52 const ErrorCallback& error_callback) OVERRIDE; | 52 const ErrorCallback& error_callback) OVERRIDE; |
| 53 virtual void Remove(const dbus::ObjectPath& service_path, | 53 virtual void Remove(const dbus::ObjectPath& service_path, |
| 54 const base::Closure& callback, | 54 const base::Closure& callback, |
| 55 const ErrorCallback& error_callback) OVERRIDE; | 55 const ErrorCallback& error_callback) OVERRIDE; |
| 56 virtual void ActivateCellularModem( | 56 virtual void ActivateCellularModem( |
| 57 const dbus::ObjectPath& service_path, | 57 const dbus::ObjectPath& service_path, |
| 58 const std::string& carrier, | 58 const std::string& carrier, |
| 59 const base::Closure& callback, | 59 const base::Closure& callback, |
| 60 const ErrorCallback& error_callback) OVERRIDE; | 60 const ErrorCallback& error_callback) OVERRIDE; |
| 61 virtual void CompleteCellularActivation( |
| 62 const dbus::ObjectPath& service_path, |
| 63 const base::Closure& callback, |
| 64 const ErrorCallback& error_callback) OVERRIDE; |
| 61 virtual bool CallActivateCellularModemAndBlock( | 65 virtual bool CallActivateCellularModemAndBlock( |
| 62 const dbus::ObjectPath& service_path, | 66 const dbus::ObjectPath& service_path, |
| 63 const std::string& carrier) OVERRIDE; | 67 const std::string& carrier) OVERRIDE; |
| 64 virtual ShillServiceClient::TestInterface* GetTestInterface() OVERRIDE; | 68 virtual ShillServiceClient::TestInterface* GetTestInterface() OVERRIDE; |
| 65 | 69 |
| 66 // ShillServiceClient::TestInterface overrides. | 70 // ShillServiceClient::TestInterface overrides. |
| 67 virtual void AddService(const std::string& service_path, | 71 virtual void AddService(const std::string& service_path, |
| 68 const std::string& name, | 72 const std::string& name, |
| 69 const std::string& type, | 73 const std::string& type, |
| 70 const std::string& state) OVERRIDE; | 74 const std::string& state) OVERRIDE; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 92 // Note: This should remain the last member so it'll be destroyed and | 96 // Note: This should remain the last member so it'll be destroyed and |
| 93 // invalidate its weak pointers before any other members are destroyed. | 97 // invalidate its weak pointers before any other members are destroyed. |
| 94 base::WeakPtrFactory<ShillServiceClientStub> weak_ptr_factory_; | 98 base::WeakPtrFactory<ShillServiceClientStub> weak_ptr_factory_; |
| 95 | 99 |
| 96 DISALLOW_COPY_AND_ASSIGN(ShillServiceClientStub); | 100 DISALLOW_COPY_AND_ASSIGN(ShillServiceClientStub); |
| 97 }; | 101 }; |
| 98 | 102 |
| 99 } // namespace chromeos | 103 } // namespace chromeos |
| 100 | 104 |
| 101 #endif // CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_STUB_H_ | 105 #endif // CHROMEOS_DBUS_SHILL_SERVICE_CLIENT_STUB_H_ |
| OLD | NEW |