Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: chrome/browser/metrics/page_load_metrics_provider.h

Issue 2189543002: Notify page load metrics when the app enters the background. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clankbackgroundcallback
Patch Set: fix histogram description Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_METRICS_PAGE_LOAD_METRICS_PROVIDER_H_
6 #define CHROME_BROWSER_METRICS_PAGE_LOAD_METRICS_PROVIDER_H_
7
8 #include "base/macros.h"
9 #include "components/metrics/metrics_provider.h"
10
11 // MetricsProvider that interfaces with page_load_metrics. Note that this class
12 // is currently only used on Android.
13 class PageLoadMetricsProvider : public metrics::MetricsProvider {
14 public:
15 PageLoadMetricsProvider();
16 ~PageLoadMetricsProvider() override;
17
18 // metrics:MetricsProvider:
19 void OnAppEnterBackground() override;
20
21 private:
22 DISALLOW_COPY_AND_ASSIGN(PageLoadMetricsProvider);
23 };
24
25 #endif // CHROME_BROWSER_METRICS_PAGE_LOAD_METRICS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/metrics/chrome_metrics_service_client.cc ('k') | chrome/browser/metrics/page_load_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698