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

Unified Diff: components/update_client/action.cc

Issue 1578083002: Implements an UpdateClient::SendUninstallPing API for the (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/update_client/action.cc
diff --git a/components/update_client/action.cc b/components/update_client/action.cc
index 3cdce79fbc6814121931ed3069d7ff5845c1fe98..de795e68e2de10dbfc8748a83dbf1b1fb263c00a 100644
--- a/components/update_client/action.cc
+++ b/components/update_client/action.cc
@@ -89,6 +89,7 @@ void ActionImpl::ChangeItemState(CrxUpdateItem* item, CrxUpdateItem::State to) {
case CrxUpdateItem::State::kDownloading:
case CrxUpdateItem::State::kDownloadingDiff:
case CrxUpdateItem::State::kDownloaded:
+ case CrxUpdateItem::State::kUninstalled:
case CrxUpdateItem::State::kLastStatus:
// No notification for these states.
break;
@@ -135,7 +136,7 @@ void ActionImpl::UpdateCrx() {
}
void ActionImpl::UpdateCrxComplete(CrxUpdateItem* item) {
- update_context_->ping_manager->OnUpdateComplete(item);
+ update_context_->ping_manager->SendPing(item);
update_context_->queue.pop();
« no previous file with comments | « components/component_updater/component_updater_service_unittest.cc ('k') | components/update_client/crx_update_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698