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

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

Issue 2572003003: NOT FOR SUBMIT: use counters for jdm@
Patch Set: Merge branch 'jdm-usecounters' into jdm-merge Created 4 years 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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 // https://w3c.github.io/navigation-timing/#the-performancetiming-interface 31 // https://w3c.github.io/navigation-timing/#the-performancetiming-interface
32 32
33 // Legacy support for NT1(https://www.w3.org/TR/navigation-timing/). 33 // Legacy support for NT1(https://www.w3.org/TR/navigation-timing/).
34 34
35 [ 35 [
36 Exposed=Window, 36 Exposed=Window,
37 ] interface PerformanceTiming { 37 ] interface PerformanceTiming {
38 readonly attribute unsigned long long navigationStart; 38 [Measure] readonly attribute unsigned long long navigationStart;
39 readonly attribute unsigned long long unloadEventStart; 39 [Measure] readonly attribute unsigned long long unloadEventStart;
40 readonly attribute unsigned long long unloadEventEnd; 40 [Measure] readonly attribute unsigned long long unloadEventEnd;
41 readonly attribute unsigned long long redirectStart; 41 [Measure] readonly attribute unsigned long long redirectStart;
42 readonly attribute unsigned long long redirectEnd; 42 [Measure] readonly attribute unsigned long long redirectEnd;
43 readonly attribute unsigned long long fetchStart; 43 [Measure] readonly attribute unsigned long long fetchStart;
44 readonly attribute unsigned long long domainLookupStart; 44 [Measure] readonly attribute unsigned long long domainLookupStart;
45 readonly attribute unsigned long long domainLookupEnd; 45 [Measure] readonly attribute unsigned long long domainLookupEnd;
46 readonly attribute unsigned long long connectStart; 46 [Measure] readonly attribute unsigned long long connectStart;
47 readonly attribute unsigned long long connectEnd; 47 [Measure] readonly attribute unsigned long long connectEnd;
48 readonly attribute unsigned long long secureConnectionStart; 48 [Measure] readonly attribute unsigned long long secureConnectionStart;
49 readonly attribute unsigned long long requestStart; 49 [Measure] readonly attribute unsigned long long requestStart;
50 readonly attribute unsigned long long responseStart; 50 [Measure] readonly attribute unsigned long long responseStart;
51 readonly attribute unsigned long long responseEnd; 51 [Measure] readonly attribute unsigned long long responseEnd;
52 readonly attribute unsigned long long domLoading; 52 [Measure] readonly attribute unsigned long long domLoading;
53 readonly attribute unsigned long long domInteractive; 53 [Measure] readonly attribute unsigned long long domInteractive;
54 readonly attribute unsigned long long domContentLoadedEventStart; 54 [Measure] readonly attribute unsigned long long domContentLoadedEventStart;
55 readonly attribute unsigned long long domContentLoadedEventEnd; 55 [Measure] readonly attribute unsigned long long domContentLoadedEventEnd;
56 readonly attribute unsigned long long domComplete; 56 [Measure] readonly attribute unsigned long long domComplete;
57 readonly attribute unsigned long long loadEventStart; 57 [Measure] readonly attribute unsigned long long loadEventStart;
58 readonly attribute unsigned long long loadEventEnd; 58 [Measure] readonly attribute unsigned long long loadEventEnd;
59 serializer = {attribute}; 59 serializer = {attribute};
60 }; 60 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698