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

Unified Diff: chromeos/dbus/mock_flimflam_device_client.h

Issue 10078007: Add chromeos::FlimflamDeviceClient::CallGetPropertiesAndBlock/CallAddIPConfigAndBlock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add TODO 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_flimflam_device_client.h
diff --git a/chromeos/dbus/mock_flimflam_device_client.h b/chromeos/dbus/mock_flimflam_device_client.h
index 278c1c8bf8c312ab42112191513ec7fb3a77d8dc..0360000180d437cdd2bd8e9db6c47b9ecf8d0d84 100644
--- a/chromeos/dbus/mock_flimflam_device_client.h
+++ b/chromeos/dbus/mock_flimflam_device_client.h
@@ -24,6 +24,8 @@ class MockFlimflamDeviceClient : public FlimflamDeviceClient {
void(const dbus::ObjectPath& device_path));
MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& device_path,
const DictionaryValueCallback& callback));
+ MOCK_METHOD1(CallGetPropertiesAndBlock,
+ base::DictionaryValue*(const dbus::ObjectPath& device_path));
MOCK_METHOD2(ProposeScan, void(const dbus::ObjectPath& device_path,
const VoidCallback& callback));
MOCK_METHOD4(SetProperty, void(const dbus::ObjectPath& device_path,
@@ -36,6 +38,9 @@ class MockFlimflamDeviceClient : public FlimflamDeviceClient {
MOCK_METHOD3(AddIPConfig, void(const dbus::ObjectPath& device_path,
const std::string& method,
const ObjectPathCallback& callback));
+ MOCK_METHOD2(CallAddIPConfigAndBlock,
+ dbus::ObjectPath(const dbus::ObjectPath& device_path,
+ const std::string& method));
MOCK_METHOD4(RequirePin, void(const dbus::ObjectPath& device_path,
const std::string& pin,
bool require,
« no previous file with comments | « chromeos/dbus/flimflam_device_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698