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

Unified Diff: components/component_updater/component_updater_service_unittest.cc

Issue 2831473002: Add a callback parameter to UpdateClient::SendUninstallPing. (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | components/component_updater/default_component_installer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/component_updater/component_updater_service_unittest.cc
diff --git a/components/component_updater/component_updater_service_unittest.cc b/components/component_updater/component_updater_service_unittest.cc
index c4e6199e88d70171893216fd78f6c4e93c3ad7c3..d833d200a1d77716558c837e0219598906c0eff1 100644
--- a/components/component_updater/component_updater_service_unittest.cc
+++ b/components/component_updater/component_updater_service_unittest.cc
@@ -75,9 +75,11 @@ class MockUpdateClient : public UpdateClient {
bool(const std::string& id, CrxUpdateItem* update_item));
MOCK_CONST_METHOD1(IsUpdating, bool(const std::string& id));
MOCK_METHOD0(Stop, void());
- MOCK_METHOD3(
- SendUninstallPing,
- void(const std::string& id, const base::Version& version, int reason));
+ MOCK_METHOD4(SendUninstallPing,
+ void(const std::string& id,
+ const base::Version& version,
+ int reason,
+ const Callback& callback));
private:
~MockUpdateClient() override;
« no previous file with comments | « no previous file | components/component_updater/default_component_installer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698