| 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_IPCONFIG_CLIENT_H_ |    5 #ifndef CHROMEOS_DBUS_SHILL_IPCONFIG_CLIENT_H_ | 
|    6 #define CHROMEOS_DBUS_SHILL_IPCONFIG_CLIENT_H_ |    6 #define CHROMEOS_DBUS_SHILL_IPCONFIG_CLIENT_H_ | 
|    7  |    7  | 
|    8 #include <string> |    8 #include <string> | 
|    9  |    9  | 
|   10 #include "base/basictypes.h" |   10 #include "base/basictypes.h" | 
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   85   // |callback| is called after the method call succeeds. |   85   // |callback| is called after the method call succeeds. | 
|   86   virtual void ClearProperty(const dbus::ObjectPath& ipconfig_path, |   86   virtual void ClearProperty(const dbus::ObjectPath& ipconfig_path, | 
|   87                              const std::string& name, |   87                              const std::string& name, | 
|   88                              const VoidDBusMethodCallback& callback) = 0; |   88                              const VoidDBusMethodCallback& callback) = 0; | 
|   89  |   89  | 
|   90   // Calls Remove method. |   90   // Calls Remove method. | 
|   91   // |callback| is called after the method call succeeds. |   91   // |callback| is called after the method call succeeds. | 
|   92   virtual void Remove(const dbus::ObjectPath& ipconfig_path, |   92   virtual void Remove(const dbus::ObjectPath& ipconfig_path, | 
|   93                       const VoidDBusMethodCallback& callback) = 0; |   93                       const VoidDBusMethodCallback& callback) = 0; | 
|   94  |   94  | 
|   95   // DEPRECATED DO NOT USE: Calls Remove method and blocks until the method call |  | 
|   96   // finishes. |  | 
|   97   // |  | 
|   98   // TODO(hashimoto): Refactor CrosRemoveIPConfig to remove this method. |  | 
|   99   // crosbug.com/29902 |  | 
|  100   virtual bool CallRemoveAndBlock(const dbus::ObjectPath& ipconfig_path) = 0; |  | 
|  101  |  | 
|  102  protected: |   95  protected: | 
|  103   // Create() should be used instead. |   96   // Create() should be used instead. | 
|  104   ShillIPConfigClient(); |   97   ShillIPConfigClient(); | 
|  105  |   98  | 
|  106  private: |   99  private: | 
|  107   DISALLOW_COPY_AND_ASSIGN(ShillIPConfigClient); |  100   DISALLOW_COPY_AND_ASSIGN(ShillIPConfigClient); | 
|  108 }; |  101 }; | 
|  109  |  102  | 
|  110 }  // namespace chromeos |  103 }  // namespace chromeos | 
|  111  |  104  | 
|  112 #endif  // CHROMEOS_DBUS_SHILL_IPCONFIG_CLIENT_H_ |  105 #endif  // CHROMEOS_DBUS_SHILL_IPCONFIG_CLIENT_H_ | 
| OLD | NEW |