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

Side by Side Diff: third_party/WebKit/public/web/WebPerformance.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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 BLINK_EXPORT void reset(); 60 BLINK_EXPORT void reset();
61 BLINK_EXPORT void assign(const WebPerformance&); 61 BLINK_EXPORT void assign(const WebPerformance&);
62 62
63 // This only returns one of {Other|Reload|BackForward}. 63 // This only returns one of {Other|Reload|BackForward}.
64 // Form submits and link clicks all fall under other. 64 // Form submits and link clicks all fall under other.
65 BLINK_EXPORT WebNavigationType navigationType() const; 65 BLINK_EXPORT WebNavigationType navigationType() const;
66 66
67 // These functions return time in seconds (not milliseconds) since the epoch . 67 // These functions return time in seconds (not milliseconds) since the epoch .
68 BLINK_EXPORT double navigationStart() const; 68 BLINK_EXPORT double navigationStart() const;
69 BLINK_EXPORT double unloadEventEnd() const; 69 BLINK_EXPORT double unloadEventEnd() const;
70 BLINK_EXPORT double workerStart() const;
70 BLINK_EXPORT double redirectStart() const; 71 BLINK_EXPORT double redirectStart() const;
71 BLINK_EXPORT double redirectEnd() const; 72 BLINK_EXPORT double redirectEnd() const;
72 BLINK_EXPORT unsigned short redirectCount() const; 73 BLINK_EXPORT unsigned short redirectCount() const;
73 BLINK_EXPORT double fetchStart() const; 74 BLINK_EXPORT double fetchStart() const;
74 BLINK_EXPORT double domainLookupStart() const; 75 BLINK_EXPORT double domainLookupStart() const;
75 BLINK_EXPORT double domainLookupEnd() const; 76 BLINK_EXPORT double domainLookupEnd() const;
76 BLINK_EXPORT double connectStart() const; 77 BLINK_EXPORT double connectStart() const;
77 BLINK_EXPORT double connectEnd() const; 78 BLINK_EXPORT double connectEnd() const;
78 BLINK_EXPORT double requestStart() const; 79 BLINK_EXPORT double requestStart() const;
79 BLINK_EXPORT double responseStart() const; 80 BLINK_EXPORT double responseStart() const;
(...skipping 20 matching lines...) Expand all
100 WebPerformance& operator=(Performance*); 101 WebPerformance& operator=(Performance*);
101 #endif 102 #endif
102 103
103 private: 104 private:
104 WebPrivatePtr<Performance> m_private; 105 WebPrivatePtr<Performance> m_private;
105 }; 106 };
106 107
107 } // namespace blink 108 } // namespace blink
108 109
109 #endif 110 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698