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

Unified Diff: chromeos/dbus/flimflam_service_client.h

Issue 10170020: Rework chromeos::FlimflamDevice/ServiceClient with CallMethodWithErrorCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/flimflam_device_client_unittest.cc ('k') | chromeos/dbus/flimflam_service_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/flimflam_service_client.h
diff --git a/chromeos/dbus/flimflam_service_client.h b/chromeos/dbus/flimflam_service_client.h
index 081816a1e0c27c71ceddb49ab1960a1146fb56f8..786c0bbfc70b7be96a016ba032332b331cdd974d 100644
--- a/chromeos/dbus/flimflam_service_client.h
+++ b/chromeos/dbus/flimflam_service_client.h
@@ -38,6 +38,7 @@ class CHROMEOS_EXPORT FlimflamServiceClient {
typedef FlimflamClientHelper::PropertyChangedHandler PropertyChangedHandler;
typedef FlimflamClientHelper::VoidCallback VoidCallback;
typedef FlimflamClientHelper::DictionaryValueCallback DictionaryValueCallback;
+ typedef FlimflamClientHelper::ErrorCallback ErrorCallback;
virtual ~FlimflamServiceClient();
@@ -76,7 +77,8 @@ class CHROMEOS_EXPORT FlimflamServiceClient {
// Calls Connect method.
// |callback| is called after the method call succeeds.
virtual void Connect(const dbus::ObjectPath& service_path,
- const VoidCallback& callback) = 0;
+ const base::Closure& callback,
+ const ErrorCallback& error_callback) = 0;
// Calls Disconnect method.
// |callback| is called after the method call succeeds.
« no previous file with comments | « chromeos/dbus/flimflam_device_client_unittest.cc ('k') | chromeos/dbus/flimflam_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698