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

Unified Diff: chrome/browser/invalidation/ticl_invalidation_service.cc

Issue 159773006: [invalidations] Added table with registered objectsIds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@about_invalidations_clean
Patch Set: Change constness of iterators for android clang Created 6 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
Index: chrome/browser/invalidation/ticl_invalidation_service.cc
diff --git a/chrome/browser/invalidation/ticl_invalidation_service.cc b/chrome/browser/invalidation/ticl_invalidation_service.cc
index e83c8436d7219e896c176e97345ec740f37b571a..616bdc1c89b33265ea6d22344f9fddefaa6298e5 100644
--- a/chrome/browser/invalidation/ticl_invalidation_service.cc
+++ b/chrome/browser/invalidation/ticl_invalidation_service.cc
@@ -125,6 +125,9 @@ void TiclInvalidationService::UpdateRegisteredInvalidationIds(
this,
invalidator_registrar_->GetAllRegisteredIds());
}
+
+ // Log this update ids call
+ logger_.OnUpdateIds(invalidator_registrar_->GetSanitizedHandlersIdsMap());
}
void TiclInvalidationService::UnregisterInvalidationHandler(
@@ -283,6 +286,8 @@ void TiclInvalidationService::OnIncomingInvalidation(
logger_.OnInvalidation(invalidation_map);
}
+std::string TiclInvalidationService::GetOwnerName() const { return "TICL"; }
+
void TiclInvalidationService::Shutdown() {
DCHECK(CalledOnValidThread());
oauth2_token_service_->RemoveObserver(this);
« no previous file with comments | « chrome/browser/invalidation/ticl_invalidation_service.h ('k') | chrome/browser/policy/cloud/cloud_policy_invalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698