Index: content/browser/background_sync/background_sync_metrics.h |
diff --git a/content/browser/background_sync/background_sync_metrics.h b/content/browser/background_sync/background_sync_metrics.h |
index f92a7c5b7a3f6dd6f1e26cf36d820132f309dbe0..891e11494cd71f591c4386324eca222c1f5cbbe9 100644 |
--- a/content/browser/background_sync/background_sync_metrics.h |
+++ b/content/browser/background_sync/background_sync_metrics.h |
@@ -29,13 +29,10 @@ class BackgroundSyncMetrics { |
}; |
// Records the start of a sync event. |
- static void RecordEventStarted(SyncPeriodicity periodicity, |
- bool startedin_foreground); |
+ static void RecordEventStarted(bool startedin_foreground); |
// Records the result of a single sync event firing. |
- static void RecordEventResult(SyncPeriodicity periodicity, |
- bool result, |
- bool finished_in_foreground); |
+ static void RecordEventResult(bool result, bool finished_in_foreground); |
// Records the result of running a batch of sync events, including the total |
// time spent, and the batch size. |
@@ -46,17 +43,14 @@ class BackgroundSyncMetrics { |
// indicates whether the conditions were sufficient for the sync to fire |
// immediately at the time it was registered. |
static void CountRegisterSuccess( |
- SyncPeriodicity periodicity, |
RegistrationCouldFire could_fire, |
RegistrationIsDuplicate registration_is_duplicate); |
// Records the status of a failed sync registration. |
- static void CountRegisterFailure(SyncPeriodicity periodicity, |
- BackgroundSyncStatus status); |
+ static void CountRegisterFailure(BackgroundSyncStatus status); |
// Records the result of trying to unregister a sync. |
- static void CountUnregister(SyncPeriodicity periodicity, |
- BackgroundSyncStatus result); |
+ static void CountUnregister(BackgroundSyncStatus result); |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(BackgroundSyncMetrics); |