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

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: 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
Index: update_attempter_mock.h
diff --git a/update_attempter_mock.h b/update_attempter_mock.h
index 56a0b4212e16adcb3720a27cb576e13789fe8bca..04f0c8310373dc46ccea3d003c31ec71da8fdb87 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 force_proxy));
petkov 2010/11/19 05:37:15 match the name of the argument.
adlr 2010/11/20 02:52:29 Done.
+ MockDbusGlib dbus_;
};
} // namespace chromeos_update_engine
« update_attempter.cc ('K') | « update_attempter.cc ('k') | update_attempter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698