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

Unified Diff: components/metrics_services_manager/metrics_services_manager.h

Issue 2653693004: UKM Sync Observer (Closed)
Patch Set: MSVC struct initializer Created 3 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: components/metrics_services_manager/metrics_services_manager.h
diff --git a/components/metrics_services_manager/metrics_services_manager.h b/components/metrics_services_manager/metrics_services_manager.h
index 4bfe18d73daa44e6ba04cc0f404ab221d690dfb4..6880845e911c1a2abd7cf0622baecfd2575f6baf 100644
--- a/components/metrics_services_manager/metrics_services_manager.h
+++ b/components/metrics_services_manager/metrics_services_manager.h
@@ -79,7 +79,7 @@ class MetricsServicesManager {
// Update the managed services when permissions for recording/uploading
// metrics change.
- void UpdatePermissions(bool may_record, bool may_upload);
+ void UpdatePermissions(bool current_may_record, bool current_may_upload);
// Update the managed services when permissions for uploading metrics change.
void UpdateUploadPermissions(bool may_upload);
@@ -98,6 +98,9 @@ class MetricsServicesManager {
// Update which services are running to match current permissions.
void UpdateRunningServices();
+ // Update the state of UkmService to match current permissions.
+ void UpdateUkmService();
+
// The client passed in from the embedder.
std::unique_ptr<MetricsServicesManagerClient> client_;
« no previous file with comments | « components/metrics/metrics_service_client.cc ('k') | components/metrics_services_manager/metrics_services_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698