| Index: update_attempter_mock.h
|
| diff --git a/update_attempter_mock.h b/update_attempter_mock.h
|
| index 56a0b4212e16adcb3720a27cb576e13789fe8bca..908faeb2a15bf2c97b69edf180dab2fc96325c5f 100644
|
| --- a/update_attempter_mock.h
|
| +++ b/update_attempter_mock.h
|
| @@ -7,16 +7,19 @@
|
|
|
| #include <gmock/gmock.h>
|
|
|
| +#include "update_engine/mock_dbus_interface.h"
|
| #include "update_engine/update_attempter.h"
|
|
|
| namespace chromeos_update_engine {
|
|
|
| class UpdateAttempterMock : public UpdateAttempter {
|
| public:
|
| - UpdateAttempterMock() : UpdateAttempter(NULL, NULL) {}
|
| + UpdateAttempterMock() : UpdateAttempter(NULL, NULL, &dbus_) {}
|
|
|
| - MOCK_METHOD2(Update, void(const std::string& app_version,
|
| - const std::string& omaha_url));
|
| + MOCK_METHOD3(Update, void(const std::string& app_version,
|
| + const std::string& omaha_url,
|
| + bool obey_proxies));
|
| + MockDbusGlib dbus_;
|
| };
|
|
|
| } // namespace chromeos_update_engine
|
|
|