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

Unified Diff: components/component_updater/default_component_installer_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
Index: components/component_updater/default_component_installer_unittest.cc
diff --git a/components/component_updater/default_component_installer_unittest.cc b/components/component_updater/default_component_installer_unittest.cc
index 604533228139e1154dfbd4f0e66884d30c5ef38d..d9bb6d39d914ebb76477e9df44932ed54ed1971b 100644
--- a/components/component_updater/default_component_installer_unittest.cc
+++ b/components/component_updater/default_component_installer_unittest.cc
@@ -59,9 +59,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 | « components/component_updater/component_updater_service_unittest.cc ('k') | components/update_client/update_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698