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

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

Issue 2746113002: platform/loader: move network/Resource* to loader/fetch (Closed)
Patch Set: git rebase master Created 3 years, 9 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 15 matching lines...) Expand all
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #include "core/timing/PerformanceResourceTiming.h" 32 #include "core/timing/PerformanceResourceTiming.h"
33 33
34 #include "bindings/core/v8/V8ObjectBuilder.h" 34 #include "bindings/core/v8/V8ObjectBuilder.h"
35 #include "core/timing/PerformanceBase.h" 35 #include "core/timing/PerformanceBase.h"
36 #include "platform/network/ResourceRequest.h" 36 #include "platform/loader/fetch/ResourceRequest.h"
37 #include "platform/network/ResourceResponse.h" 37 #include "platform/loader/fetch/ResourceResponse.h"
38 #include "platform/network/ResourceTimingInfo.h" 38 #include "platform/loader/fetch/ResourceTimingInfo.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 PerformanceResourceTiming::PerformanceResourceTiming( 42 PerformanceResourceTiming::PerformanceResourceTiming(
43 const AtomicString& initiatorType, 43 const AtomicString& initiatorType,
44 double timeOrigin, 44 double timeOrigin,
45 ResourceLoadTiming* timing, 45 ResourceLoadTiming* timing,
46 double lastRedirectEndTime, 46 double lastRedirectEndTime,
47 double finishTime, 47 double finishTime,
48 unsigned long long transferSize, 48 unsigned long long transferSize,
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 builder.addNumber("secureConnectionStart", secureConnectionStart()); 280 builder.addNumber("secureConnectionStart", secureConnectionStart());
281 builder.addNumber("requestStart", requestStart()); 281 builder.addNumber("requestStart", requestStart());
282 builder.addNumber("responseStart", responseStart()); 282 builder.addNumber("responseStart", responseStart());
283 builder.addNumber("responseEnd", responseEnd()); 283 builder.addNumber("responseEnd", responseEnd());
284 builder.addNumber("transferSize", transferSize()); 284 builder.addNumber("transferSize", transferSize());
285 builder.addNumber("encodedBodySize", encodedBodySize()); 285 builder.addNumber("encodedBodySize", encodedBodySize());
286 builder.addNumber("decodedBodySize", decodedBodySize()); 286 builder.addNumber("decodedBodySize", decodedBodySize());
287 } 287 }
288 288
289 } // namespace blink 289 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698