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

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

Issue 2874663005: [Page Load Metrics] Add mojom file to page load metrics. (Closed)
Patch Set: Remove unnecessary variable Created 3 years, 7 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ABORTS_PAGE_LOAD_METRICS_OBSE RVER_H_ 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ABORTS_PAGE_LOAD_METRICS_OBSE RVER_H_
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ABORTS_PAGE_LOAD_METRICS_OBSE RVER_H_ 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ABORTS_PAGE_LOAD_METRICS_OBSE RVER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/page_load_metrics/page_load_metrics_observer.h" 9 #include "chrome/browser/page_load_metrics/page_load_metrics_observer.h"
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 } // namespace internal 27 } // namespace internal
28 28
29 class AbortsPageLoadMetricsObserver 29 class AbortsPageLoadMetricsObserver
30 : public page_load_metrics::PageLoadMetricsObserver { 30 : public page_load_metrics::PageLoadMetricsObserver {
31 public: 31 public:
32 AbortsPageLoadMetricsObserver(); 32 AbortsPageLoadMetricsObserver();
33 33
34 // page_load_metrics::PageLoadMetricsObserver: 34 // page_load_metrics::PageLoadMetricsObserver:
35 void OnComplete( 35 void OnComplete(
36 const page_load_metrics::PageLoadTiming& timing, 36 const page_load_metrics::mojom::PageLoadTiming& timing,
37 const page_load_metrics::PageLoadExtraInfo& extra_info) override; 37 const page_load_metrics::PageLoadExtraInfo& extra_info) override;
38 void OnFailedProvisionalLoad( 38 void OnFailedProvisionalLoad(
39 const page_load_metrics::FailedProvisionalLoadInfo& failed_load_info, 39 const page_load_metrics::FailedProvisionalLoadInfo& failed_load_info,
40 const page_load_metrics::PageLoadExtraInfo& extra_info) override; 40 const page_load_metrics::PageLoadExtraInfo& extra_info) override;
41 41
42 private: 42 private:
43 DISALLOW_COPY_AND_ASSIGN(AbortsPageLoadMetricsObserver); 43 DISALLOW_COPY_AND_ASSIGN(AbortsPageLoadMetricsObserver);
44 }; 44 };
45 45
46 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ABORTS_PAGE_LOAD_METRICS_O BSERVER_H_ 46 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_OBSERVERS_ABORTS_PAGE_LOAD_METRICS_O BSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698