1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
android_webview / browser / page_load_metrics / aw_page_load_metrics_provider.h [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ANDROID_WEBVIEW_BROWSER_PAGE_LOAD_METRICS_AW_PAGE_LOAD_METRICS_PROVIDER_H_
#define ANDROID_WEBVIEW_BROWSER_PAGE_LOAD_METRICS_AW_PAGE_LOAD_METRICS_PROVIDER_H_
#include "components/metrics/metrics_provider.h"
namespace android_webview {
// MetricsProvider that interfaces with page_load_metrics.
class AwPageLoadMetricsProvider : public metrics::MetricsProvider {
public:
AwPageLoadMetricsProvider();
AwPageLoadMetricsProvider(const AwPageLoadMetricsProvider&) = delete;
AwPageLoadMetricsProvider& operator=(const AwPageLoadMetricsProvider&) =
delete;
~AwPageLoadMetricsProvider() override;
// metrics:MetricsProvider:
void OnAppEnterBackground() override;
};
} // namespace android_webview
#endif // ANDROID_WEBVIEW_BROWSER_PAGE_LOAD_METRICS_AW_PAGE_LOAD_METRICS_PROVIDER_H_