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

Unified Diff: chromeos/dbus/flimflam_manager_client.cc

Issue 10202009: Reimplement CrosGetWifiAccessPoints without Libcros (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_manager_client.h ('k') | chromeos/dbus/flimflam_manager_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/flimflam_manager_client.cc
diff --git a/chromeos/dbus/flimflam_manager_client.cc b/chromeos/dbus/flimflam_manager_client.cc
index 23748547121c1c912e713bd1e6fa29c5d6de6405..d09d34d979fed6989d82c31d6bcc6947dfa3f581 100644
--- a/chromeos/dbus/flimflam_manager_client.cc
+++ b/chromeos/dbus/flimflam_manager_client.cc
@@ -73,6 +73,12 @@ class FlimflamManagerClientImpl : public FlimflamManagerClient {
helper_.CallDictionaryValueMethod(&method_call, callback);
}
+ virtual base::DictionaryValue* CallGetPropertiesAndBlock() OVERRIDE {
+ dbus::MethodCall method_call(flimflam::kFlimflamManagerInterface,
+ flimflam::kGetPropertiesFunction);
+ return helper_.CallDictionaryValueMethodAndBlock(&method_call);
+ }
+
virtual void SetProperty(const std::string& name,
const base::Value& value,
const VoidCallback& callback) OVERRIDE {
@@ -162,6 +168,11 @@ class FlimflamManagerClientStubImpl : public FlimflamManagerClient {
}
// FlimflamManagerClient override.
+ virtual base::DictionaryValue* CallGetPropertiesAndBlock() OVERRIDE {
+ return new base::DictionaryValue;
+ }
+
+ // FlimflamManagerClient override.
virtual void SetProperty(const std::string& name,
const base::Value& value,
const VoidCallback& callback) OVERRIDE {
« no previous file with comments | « chromeos/dbus/flimflam_manager_client.h ('k') | chromeos/dbus/flimflam_manager_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698