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

Unified Diff: chromeos/dbus/shill_profile_client.cc

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_profile_client.cc
diff --git a/chromeos/dbus/shill_profile_client.cc b/chromeos/dbus/shill_profile_client.cc
index 6b2544c4b7005a8e5c41ee598e78fe1b1c59777d..3311a8dcb33d9e5e3146e47aaf6d0991a5196e4a 100644
--- a/chromeos/dbus/shill_profile_client.cc
+++ b/chromeos/dbus/shill_profile_client.cc
@@ -168,8 +168,8 @@ class ShillProfileClientStubImpl : public ShillProfileClient {
private:
void PassEmptyDictionaryValue(
const DictionaryValueCallbackWithoutStatus& callback) const {
- base::DictionaryValue dictionary;
- callback.Run(dictionary);
+ scoped_ptr<base::DictionaryValue> empty(new base::DictionaryValue);
+ callback.Run(empty.Pass());
}
// Note: This should remain the last member so it'll be destroyed and

Powered by Google App Engine
This is Rietveld 408576698