// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_METRICS_DATA_USE_TRACKER_H_ #define COMPONENTS_METRICS_DATA_USE_TRACKER_H_ #include <string> #include "base/functional/callback.h" #include "base/gtest_prod_util.h" #include "base/memory/raw_ptr.h" #include "base/sequence_checker.h" #include "base/time/time.h" #include "components/prefs/pref_registry_simple.h" #include "components/prefs/pref_service.h" namespace metrics { // Records the data use of user traffic and UMA traffic in user prefs. Taking // into account those prefs it can verify whether certain UMA log upload is // allowed. class DataUseTracker { … }; } // namespace metrics #endif // COMPONENTS_METRICS_DATA_USE_TRACKER_H_