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

Side by Side Diff: third_party/WebKit/Source/core/timing/PerformanceTiming.h

Issue 1871393002: Add NavigationToFirstContentfulPaint UMA for ServiceWorker controlled pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 USING_GARBAGE_COLLECTED_MIXIN(PerformanceTiming); 53 USING_GARBAGE_COLLECTED_MIXIN(PerformanceTiming);
54 public: 54 public:
55 static PerformanceTiming* create(LocalFrame* frame) 55 static PerformanceTiming* create(LocalFrame* frame)
56 { 56 {
57 return new PerformanceTiming(frame); 57 return new PerformanceTiming(frame);
58 } 58 }
59 59
60 unsigned long long navigationStart() const; 60 unsigned long long navigationStart() const;
61 unsigned long long unloadEventStart() const; 61 unsigned long long unloadEventStart() const;
62 unsigned long long unloadEventEnd() const; 62 unsigned long long unloadEventEnd() const;
63 unsigned long long workerStart() const;
Kunihiko Sakamoto 2016/04/12 08:23:12 Can you add a comment saying that this is a Naviga
horo 2016/04/12 10:09:56 Done.
63 unsigned long long redirectStart() const; 64 unsigned long long redirectStart() const;
64 unsigned long long redirectEnd() const; 65 unsigned long long redirectEnd() const;
65 unsigned long long fetchStart() const; 66 unsigned long long fetchStart() const;
66 unsigned long long domainLookupStart() const; 67 unsigned long long domainLookupStart() const;
67 unsigned long long domainLookupEnd() const; 68 unsigned long long domainLookupEnd() const;
68 unsigned long long connectStart() const; 69 unsigned long long connectStart() const;
69 unsigned long long connectEnd() const; 70 unsigned long long connectEnd() const;
70 unsigned long long secureConnectionStart() const; 71 unsigned long long secureConnectionStart() const;
71 unsigned long long requestStart() const; 72 unsigned long long requestStart() const;
72 unsigned long long responseStart() const; 73 unsigned long long responseStart() const;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 const DocumentParserTiming* documentParserTiming() const; 113 const DocumentParserTiming* documentParserTiming() const;
113 const PaintTiming* paintTiming() const; 114 const PaintTiming* paintTiming() const;
114 DocumentLoader* documentLoader() const; 115 DocumentLoader* documentLoader() const;
115 DocumentLoadTiming* documentLoadTiming() const; 116 DocumentLoadTiming* documentLoadTiming() const;
116 ResourceLoadTiming* resourceLoadTiming() const; 117 ResourceLoadTiming* resourceLoadTiming() const;
117 }; 118 };
118 119
119 } // namespace blink 120 } // namespace blink
120 121
121 #endif // PerformanceTiming_h 122 #endif // PerformanceTiming_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698