| Index: components/metrics/data_use_tracker.h
|
| diff --git a/components/metrics/data_use_tracker.h b/components/metrics/data_use_tracker.h
|
| index e5eb2ba25fd66240d9a60a149158260bf7a2e3e3..bee12f9093409e206ba50fae0ad3a0a7f5d0b2c7 100644
|
| --- a/components/metrics/data_use_tracker.h
|
| +++ b/components/metrics/data_use_tracker.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/macros.h"
|
| #include "base/threading/thread_checker.h"
|
| #include "base/time/time.h"
|
| +#include "components/metrics/metrics_log_uploader.h"
|
| #include "components/prefs/pref_registry_simple.h"
|
| #include "components/prefs/pref_service.h"
|
|
|
| @@ -42,7 +43,9 @@ class DataUseTracker {
|
|
|
| // Returns whether a log with provided |log_bytes| can be uploaded according
|
| // to data use ratio and UMA quota provided by variations.
|
| - bool ShouldUploadLogOnCellular(int log_bytes);
|
| + bool ShouldUploadLogOnCellular(
|
| + int log_bytes,
|
| + MetricsLogUploader::MetricServiceType service_type);
|
|
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(DataUseTrackerTest, CheckUpdateUsagePref);
|
|
|