| Index: update_attempter_mock.h
|
| diff --git a/update_attempter_mock.h b/update_attempter_mock.h
|
| index 908faeb2a15bf2c97b69edf180dab2fc96325c5f..16c0e11e03e0fa031dc148092307a2fe440f3005 100644
|
| --- a/update_attempter_mock.h
|
| +++ b/update_attempter_mock.h
|
| @@ -14,12 +14,12 @@ namespace chromeos_update_engine {
|
|
|
| class UpdateAttempterMock : public UpdateAttempter {
|
| public:
|
| - UpdateAttempterMock() : UpdateAttempter(NULL, NULL, &dbus_) {}
|
| + explicit UpdateAttempterMock(MockDbusGlib* dbus)
|
| + : UpdateAttempter(NULL, NULL, dbus) {}
|
|
|
| MOCK_METHOD3(Update, void(const std::string& app_version,
|
| const std::string& omaha_url,
|
| bool obey_proxies));
|
| - MockDbusGlib dbus_;
|
| };
|
|
|
| } // namespace chromeos_update_engine
|
|
|