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

Side by Side Diff: third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.cpp

Issue 2582863002: fixed encodedBodySize/decodedBodySize/name/initiatorType for nav timing 2 (Closed)
Patch Set: fixed encodedBodySize/decodedBodySize/initiatorType for nav timing 2 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
« no previous file with comments | « third_party/WebKit/Source/core/timing/PerformanceBase.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "core/timing/PerformanceNavigationTiming.h" 5 #include "core/timing/PerformanceNavigationTiming.h"
6 6
7 #include "bindings/core/v8/V8ObjectBuilder.h" 7 #include "bindings/core/v8/V8ObjectBuilder.h"
8 #include "core/timing/PerformanceBase.h" 8 #include "core/timing/PerformanceBase.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 27 matching lines...) Expand all
38 double responseEnd, 38 double responseEnd,
39 bool allowRedirectDetails, 39 bool allowRedirectDetails,
40 bool hasSameOriginAsPreviousDocument, 40 bool hasSameOriginAsPreviousDocument,
41 ResourceLoadTiming* timing, 41 ResourceLoadTiming* timing,
42 double lastRedirectEndTime, 42 double lastRedirectEndTime,
43 double finishTime, 43 double finishTime,
44 unsigned long long transferSize, 44 unsigned long long transferSize,
45 unsigned long long encodedBodyLength, 45 unsigned long long encodedBodyLength,
46 unsigned long long decodedBodyLength, 46 unsigned long long decodedBodyLength,
47 bool didReuseConnection) 47 bool didReuseConnection)
48 : PerformanceResourceTiming("", 48 : PerformanceResourceTiming("navigation",
panicker 2016/12/19 21:42:00 mention this change in CL description
sunjian 2017/01/05 01:55:07 Done.
49 timeOrigin, 49 timeOrigin,
50 timing, 50 timing,
51 lastRedirectEndTime, 51 lastRedirectEndTime,
52 finishTime, 52 finishTime,
53 transferSize, 53 transferSize,
54 encodedBodyLength, 54 encodedBodyLength,
55 decodedBodyLength, 55 decodedBodyLength,
56 didReuseConnection, 56 didReuseConnection,
57 true /*allowTimingDetails*/, // TODO(sunjian): 57 true /*allowTimingDetails*/, // TODO(sunjian):
58 // Create an enum 58 // Create an enum
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 builder.addNumber("domInteractive", domInteractive()); 169 builder.addNumber("domInteractive", domInteractive());
170 builder.addNumber("domContentLoadedEventStart", domContentLoadedEventStart()); 170 builder.addNumber("domContentLoadedEventStart", domContentLoadedEventStart());
171 builder.addNumber("domContentLoadedEventEnd", domContentLoadedEventEnd()); 171 builder.addNumber("domContentLoadedEventEnd", domContentLoadedEventEnd());
172 builder.addNumber("domComplete", domComplete()); 172 builder.addNumber("domComplete", domComplete());
173 builder.addNumber("loadEventStart", loadEventStart()); 173 builder.addNumber("loadEventStart", loadEventStart());
174 builder.addNumber("loadEventEnd", loadEventEnd()); 174 builder.addNumber("loadEventEnd", loadEventEnd());
175 builder.addString("type", type()); 175 builder.addString("type", type());
176 builder.addNumber("redirectCount", redirectCount()); 176 builder.addNumber("redirectCount", redirectCount());
177 } 177 }
178 } 178 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/timing/PerformanceBase.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698