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

Unified Diff: chromeos/dbus/shill_client_helper.h

Issue 11367048: This is the first pass at making GetIPConfigs asynchronous. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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 side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/shill_client_helper.h
diff --git a/chromeos/dbus/shill_client_helper.h b/chromeos/dbus/shill_client_helper.h
index 8782d90be40482cd4df5661092232ccee25ae6e4..cc3b0a3e17845c367b56d950d6a0f28ee83251e1 100644
--- a/chromeos/dbus/shill_client_helper.h
+++ b/chromeos/dbus/shill_client_helper.h
@@ -41,17 +41,18 @@ namespace chromeos {
class ShillClientHelper {
public:
// A callback to handle PropertyChanged signals.
- typedef base::Callback<void(const std::string& name,
- const base::Value& value)> PropertyChangedHandler;
+ typedef base::Callback<void(
+ const std::string& name,
+ scoped_ptr<base::Value> value)> PropertyChangedHandler;
// A callback to handle responses for methods with DictionaryValue results.
typedef base::Callback<void(
DBusMethodCallStatus call_status,
- const base::DictionaryValue& result)> DictionaryValueCallback;
+ scoped_ptr<base::DictionaryValue> result)> DictionaryValueCallback;
// A callback to handle responses for methods with DictionaryValue results.
// This is used by CallDictionaryValueMethodWithErrorCallback.
- typedef base::Callback<void(const base::DictionaryValue& result
+ typedef base::Callback<void(scoped_ptr<base::DictionaryValue> result
)> DictionaryValueCallbackWithoutStatus;
// A callback to handle errors for method call.

Powered by Google App Engine
This is Rietveld 408576698