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

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

Issue 12041029: Add ResetModem method and call it once non_cellular activation is done. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months 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/mock_shill_device_client.h ('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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 const base::Closure& callback, 151 const base::Closure& callback,
152 const ErrorCallback& error_callback) = 0; 152 const ErrorCallback& error_callback) = 0;
153 153
154 // Calls the SetCarrier method. 154 // Calls the SetCarrier method.
155 // |callback| is called after the method call finishes. 155 // |callback| is called after the method call finishes.
156 virtual void SetCarrier(const dbus::ObjectPath& device_path, 156 virtual void SetCarrier(const dbus::ObjectPath& device_path,
157 const std::string& carrier, 157 const std::string& carrier,
158 const base::Closure& callback, 158 const base::Closure& callback,
159 const ErrorCallback& error_callback) = 0; 159 const ErrorCallback& error_callback) = 0;
160 160
161 // Calls the Reset method.
162 // |callback| is called after the method call finishes.
163 virtual void Reset(const dbus::ObjectPath& device_path,
164 const base::Closure& callback,
165 const ErrorCallback& error_callback) = 0;
166
161 // Returns an interface for testing (stub only), or returns NULL. 167 // Returns an interface for testing (stub only), or returns NULL.
162 virtual TestInterface* GetTestInterface() = 0; 168 virtual TestInterface* GetTestInterface() = 0;
163 169
164 protected: 170 protected:
165 // Create() should be used instead. 171 // Create() should be used instead.
166 ShillDeviceClient(); 172 ShillDeviceClient();
167 173
168 private: 174 private:
169 DISALLOW_COPY_AND_ASSIGN(ShillDeviceClient); 175 DISALLOW_COPY_AND_ASSIGN(ShillDeviceClient);
170 }; 176 };
171 177
172 } // namespace chromeos 178 } // namespace chromeos
173 179
174 #endif // CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_ 180 #endif // CHROMEOS_DBUS_SHILL_DEVICE_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/mock_shill_device_client.h ('k') | chromeos/dbus/shill_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698