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

Side by Side Diff: chromeos/dbus/shill_device_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_client_helper.cc ('k') | chromeos/dbus/shill_device_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_DEVICE_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_
6 #define CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_ 6 #define CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 virtual void ClearProperty(const dbus::ObjectPath& device_path, 104 virtual void ClearProperty(const dbus::ObjectPath& device_path,
105 const std::string& name, 105 const std::string& name,
106 const VoidDBusMethodCallback& callback) = 0; 106 const VoidDBusMethodCallback& callback) = 0;
107 107
108 // Calls AddIPConfig method. 108 // Calls AddIPConfig method.
109 // |callback| is called after the method call finishes. 109 // |callback| is called after the method call finishes.
110 virtual void AddIPConfig(const dbus::ObjectPath& device_path, 110 virtual void AddIPConfig(const dbus::ObjectPath& device_path,
111 const std::string& method, 111 const std::string& method,
112 const ObjectPathDBusMethodCallback& callback) = 0; 112 const ObjectPathDBusMethodCallback& callback) = 0;
113 113
114 // DEPRECATED DO NOT USE: Calls AddIPConfig method and blocks until the method
115 // call finishes.
116 // This method returns an empty path when method call fails.
117 //
118 // TODO(hashimoto): Refactor CrosAddIPConfig and remove this method.
119 // crosbug.com/29902
120 virtual dbus::ObjectPath CallAddIPConfigAndBlock(
121 const dbus::ObjectPath& device_path,
122 const std::string& method) = 0;
123
124 // Calls the RequirePin method. 114 // Calls the RequirePin method.
125 // |callback| is called after the method call finishes. 115 // |callback| is called after the method call finishes.
126 virtual void RequirePin(const dbus::ObjectPath& device_path, 116 virtual void RequirePin(const dbus::ObjectPath& device_path,
127 const std::string& pin, 117 const std::string& pin,
128 bool require, 118 bool require,
129 const base::Closure& callback, 119 const base::Closure& callback,
130 const ErrorCallback& error_callback) = 0; 120 const ErrorCallback& error_callback) = 0;
131 121
132 // Calls the EnterPin method. 122 // Calls the EnterPin method.
133 // |callback| is called after the method call finishes. 123 // |callback| is called after the method call finishes.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // Create() should be used instead. 163 // Create() should be used instead.
174 ShillDeviceClient(); 164 ShillDeviceClient();
175 165
176 private: 166 private:
177 DISALLOW_COPY_AND_ASSIGN(ShillDeviceClient); 167 DISALLOW_COPY_AND_ASSIGN(ShillDeviceClient);
178 }; 168 };
179 169
180 } // namespace chromeos 170 } // namespace chromeos
181 171
182 #endif // CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_ 172 #endif // CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_client_helper.cc ('k') | chromeos/dbus/shill_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698