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

Side by Side Diff: chrome/common/page_load_metrics/page_load_timing.h

Issue 2177743002: Migrate page_load_metrics out of components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: migrate page_load_metrics_messages to common message generator 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
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 COMPONENTS_PAGE_LOAD_METRICS_COMMON_PAGE_LOAD_TIMING_H_ 5 #ifndef CHROME_COMMON_PAGE_LOAD_METRICS_PAGE_LOAD_TIMING_H_
6 #define COMPONENTS_PAGE_LOAD_METRICS_COMMON_PAGE_LOAD_TIMING_H_ 6 #define CHROME_COMMON_PAGE_LOAD_METRICS_PAGE_LOAD_TIMING_H_
7 7
8 #include "base/optional.h" 8 #include "base/optional.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h" 10 #include "third_party/WebKit/public/platform/WebLoadingBehaviorFlag.h"
11 11
12 namespace page_load_metrics { 12 namespace page_load_metrics {
13 13
14 // PageLoadTiming contains timing metrics associated with a page load. Many of 14 // PageLoadTiming contains timing metrics associated with a page load. Many of
15 // the metrics here are based on the Navigation Timing spec: 15 // the metrics here are based on the Navigation Timing spec:
16 // http://www.w3.org/TR/navigation-timing/. 16 // http://www.w3.org/TR/navigation-timing/.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 struct PageLoadMetadata { 86 struct PageLoadMetadata {
87 PageLoadMetadata(); 87 PageLoadMetadata();
88 bool operator==(const PageLoadMetadata& other) const; 88 bool operator==(const PageLoadMetadata& other) const;
89 // These are packed blink::WebLoadingBehaviorFlag enums. 89 // These are packed blink::WebLoadingBehaviorFlag enums.
90 int behavior_flags = blink::WebLoadingBehaviorNone; 90 int behavior_flags = blink::WebLoadingBehaviorNone;
91 }; 91 };
92 92
93 } // namespace page_load_metrics 93 } // namespace page_load_metrics
94 94
95 #endif // COMPONENTS_PAGE_LOAD_METRICS_COMMON_PAGE_LOAD_TIMING_H_ 95 #endif // CHROME_COMMON_PAGE_LOAD_METRICS_PAGE_LOAD_TIMING_H_
OLDNEW
« no previous file with comments | « chrome/common/page_load_metrics/page_load_metrics_messages.h ('k') | chrome/common/page_load_metrics/page_load_timing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698