// Copyright 2018 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_IMAGE_FETCHER_CORE_IMAGE_FETCHER_METRICS_REPORTER_H_ #define COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_FETCHER_METRICS_REPORTER_H_ #include <string> #include "base/time/time.h" #include "components/image_fetcher/core/cache/image_store_types.h" namespace image_fetcher { // Enum for the result of the fetch, reported through UMA. Present in enums.xml // as ImageFetcherEvent. New values should be added at the end and things // should not be renumbered. // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.image_fetcher enum class ImageFetcherEvent { … }; class ImageFetcherMetricsReporter { … }; } // namespace image_fetcher #endif // COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_FETCHER_METRICS_REPORTER_H_