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

Unified Diff: chromeos/dbus/mock_dbus_thread_manager.cc

Issue 10095004: Add FlimflamDeviceClient (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
Index: chromeos/dbus/mock_dbus_thread_manager.cc
diff --git a/chromeos/dbus/mock_dbus_thread_manager.cc b/chromeos/dbus/mock_dbus_thread_manager.cc
index 54a731c994afeb2ec926601bf8301317d588bac6..e268f66d880c853bae0eba0ce4f210586d4e967c 100644
--- a/chromeos/dbus/mock_dbus_thread_manager.cc
+++ b/chromeos/dbus/mock_dbus_thread_manager.cc
@@ -13,6 +13,7 @@
#include "chromeos/dbus/mock_cros_disks_client.h"
#include "chromeos/dbus/mock_cryptohome_client.h"
#include "chromeos/dbus/mock_debug_daemon_client.h"
+#include "chromeos/dbus/mock_flimflam_device_client.h"
#include "chromeos/dbus/mock_flimflam_ipconfig_client.h"
#include "chromeos/dbus/mock_flimflam_manager_client.h"
#include "chromeos/dbus/mock_flimflam_network_client.h"
@@ -40,6 +41,7 @@ MockDBusThreadManager::MockDBusThreadManager()
mock_cros_disks_client_(new MockCrosDisksClient),
mock_cryptohome_client_(new MockCryptohomeClient),
mock_debugdaemon_client_(new MockDebugDaemonClient),
+ mock_flimflam_device_client_(new MockFlimflamDeviceClient),
mock_flimflam_ipconfig_client_(new MockFlimflamIPConfigClient),
mock_flimflam_manager_client_(new MockFlimflamManagerClient),
mock_flimflam_network_client_(new MockFlimflamNetworkClient),
@@ -68,6 +70,8 @@ MockDBusThreadManager::MockDBusThreadManager()
.WillRepeatedly(Return(mock_cryptohome_client()));
EXPECT_CALL(*this, GetDebugDaemonClient())
.WillRepeatedly(Return(mock_debugdaemon_client()));
+ EXPECT_CALL(*this, GetFlimflamDeviceClient())
+ .WillRepeatedly(Return(mock_flimflam_device_client()));
EXPECT_CALL(*this, GetFlimflamIPConfigClient())
.WillRepeatedly(Return(mock_flimflam_ipconfig_client()));
EXPECT_CALL(*this, GetFlimflamManagerClient())

Powered by Google App Engine
This is Rietveld 408576698