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

Unified Diff: update_attempter_mock.h

Issue 5205002: AU: Manual proxy support (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: missed one fix for review Created 10 years, 1 month 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 | « update_attempter.cc ('k') | update_attempter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « update_attempter.cc ('k') | update_attempter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698