Bug 160821

Summary: Rename DocumentLoadTiming and ResourceLoadTiming
Product: WebKit Reporter: Johan K. Jensen <jj>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, commit-queue, jj
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Johan K. Jensen 2016-08-12 14:29:02 PDT
Rename ResourceLoadTiming to reflect that it only has timing about the network request.
Rename DocumentLoadTiming to handle generic timing information for both the main document and subresources.
Comment 1 Johan K. Jensen 2016-08-12 14:47:33 PDT
Created attachment 285954 [details]
Patch
Comment 2 Alex Christensen 2016-08-12 14:53:57 PDT
Comment on attachment 285954 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=285954&action=review

> Source/WebCore/CMakeLists.txt:1915
> +    loader/LoadTiming.cpp

This should be put in correct alphabetical order.

> Source/WebCore/loader/DocumentLoader.h:259
> +        void resetTiming() { m_loadTiming = LoadTiming(); }

Does { } work?

> Source/WebCore/loader/LoadTiming.h:27
> +#ifndef LoadTiming_h
> +#define LoadTiming_h

#pragma once

> Source/WebCore/platform/network/NetworkLoadTiming.h:28
> +#ifndef NetworkLoadTiming_h
> +#define NetworkLoadTiming_h

#pragma once, as long as we're touching this file.
Comment 3 Johan K. Jensen 2016-08-12 15:05:45 PDT
Created attachment 285959 [details]
Patch
Comment 4 WebKit Commit Bot 2016-08-12 15:54:59 PDT
Comment on attachment 285959 [details]
Patch

Clearing flags on attachment: 285959

Committed r204429: <http://trac.webkit.org/changeset/204429>
Comment 5 WebKit Commit Bot 2016-08-12 15:55:03 PDT
All reviewed patches have been landed.  Closing bug.