Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: chromeos/dbus/shill_ipconfig_client.h

Issue 11361211: chromeos: Remove unused CrosAddIPConfig/CrosRemoveIPConfig functions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/shill_device_client_unittest.cc ('k') | chromeos/dbus/shill_ipconfig_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_device_client_unittest.cc ('k') | chromeos/dbus/shill_ipconfig_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698