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

Unified Diff: update_attempter_mock.h

Issue 6594025: AU: Full proxy support (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: fixes for review Created 9 years, 10 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 | « 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 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
« 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