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

Side by Side Diff: chrome/browser/page_load_metrics/observers/stale_while_revalidate_metrics_observer.h

Issue 2385103002: Deprecate StaleWhileRevalidateMetricsObserver (Closed)
Patch Set: build rule Created 4 years, 2 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 2015 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_PAGE_LOAD_METRICS_OBSERVERS_STALE_WHILE_REVALIDATE_METRIC S_OBSERVER_H_
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_STALE_WHILE_REVALIDATE_METRIC S_OBSERVER_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/page_load_metrics/page_load_metrics_observer.h"
10
11 namespace chrome {
12
13 class StaleWhileRevalidateMetricsObserver
14 : public page_load_metrics::PageLoadMetricsObserver {
15 public:
16 StaleWhileRevalidateMetricsObserver();
17 // page_load_metrics::PageLoadMetricsObserver implementation:
18 ObservePolicy OnCommit(content::NavigationHandle* navigation_handle) override;
19 void OnComplete(
20 const page_load_metrics::PageLoadTiming& timing,
21 const page_load_metrics::PageLoadExtraInfo& extra_info) override;
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(StaleWhileRevalidateMetricsObserver);
25 };
26
27 } // namespace chrome
28
29 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_STALE_WHILE_REVALIDATE_MET RICS_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/page_load_metrics/observers/stale_while_revalidate_metrics_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698