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

Unified Diff: chromeos/dbus/mock_dbus_thread_manager.cc

Issue 31513002: dbus: Remove MockShillDeviceClient and MockShillIPConfigClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix the build Created 7 years, 2 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/mock_dbus_thread_manager.h ('k') | chromeos/dbus/mock_shill_device_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 11b97f6f3803cdf93448a6bc47d37b1a16f8fed2..a6eb16b2403372d22430142da42a2e410b7cf171 100644
--- a/chromeos/dbus/mock_dbus_thread_manager.cc
+++ b/chromeos/dbus/mock_dbus_thread_manager.cc
@@ -11,12 +11,12 @@
#include "chromeos/dbus/fake_bluetooth_input_client.h"
#include "chromeos/dbus/fake_bluetooth_profile_manager_client.h"
#include "chromeos/dbus/fake_gsm_sms_client.h"
+#include "chromeos/dbus/fake_shill_device_client.h"
+#include "chromeos/dbus/fake_shill_ipconfig_client.h"
#include "chromeos/dbus/ibus/mock_ibus_client.h"
#include "chromeos/dbus/ibus/mock_ibus_engine_factory_service.h"
#include "chromeos/dbus/ibus/mock_ibus_engine_service.h"
#include "chromeos/dbus/mock_cryptohome_client.h"
-#include "chromeos/dbus/mock_shill_device_client.h"
-#include "chromeos/dbus/mock_shill_ipconfig_client.h"
#include "chromeos/dbus/mock_shill_manager_client.h"
#include "chromeos/dbus/mock_shill_profile_client.h"
#include "chromeos/dbus/mock_shill_service_client.h"
@@ -55,9 +55,9 @@ MockDBusThreadManager::MockDBusThreadManager()
fake_bluetooth_profile_manager_client_(
new FakeBluetoothProfileManagerClient),
fake_gsm_sms_client_(new FakeGsmSMSClient),
+ fake_shill_device_client_(new FakeShillDeviceClient),
+ fake_shill_ipconfig_client_(new FakeShillIPConfigClient),
mock_cryptohome_client_(new MockCryptohomeClient),
- mock_shill_device_client_(new MockShillDeviceClient),
- mock_shill_ipconfig_client_(new MockShillIPConfigClient),
mock_shill_manager_client_(new MockShillManagerClient),
mock_shill_profile_client_(new MockShillProfileClient),
mock_shill_service_client_(new MockShillServiceClient),
@@ -75,9 +75,9 @@ MockDBusThreadManager::MockDBusThreadManager()
EXPECT_CALL(*this, GetBluetoothProfileManagerClient())
.WillRepeatedly(Return(fake_bluetooth_profile_manager_client()));
EXPECT_CALL(*this, GetShillDeviceClient())
- .WillRepeatedly(Return(mock_shill_device_client()));
+ .WillRepeatedly(Return(fake_shill_device_client()));
EXPECT_CALL(*this, GetShillIPConfigClient())
- .WillRepeatedly(Return(mock_shill_ipconfig_client()));
+ .WillRepeatedly(Return(fake_shill_ipconfig_client()));
EXPECT_CALL(*this, GetShillManagerClient())
.WillRepeatedly(Return(mock_shill_manager_client()));
EXPECT_CALL(*this, GetShillProfileClient())
« no previous file with comments | « chromeos/dbus/mock_dbus_thread_manager.h ('k') | chromeos/dbus/mock_shill_device_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698