[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

tonyg at chromium.org tonyg at chromium.org
Wed Dec 22 11:28:02 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 064638ab92368d28abcec59c487175888fbe6fae
Author: tonyg at chromium.org <tonyg at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Jul 26 17:03:35 2010 +0000

    2010-07-26  Tony Gentilcore  <tonyg at chromium.org>
    
            Reviewed by Darin Fisher.
    
            Move DocumentLoadTiming struct to a new file
            https://bugs.webkit.org/show_bug.cgi?id=42917
    
            Also makes DocumentLoadTiming Noncopyable.
    
            No new tests because no new functionality.
    
            * GNUmakefile.am:
            * WebCore.gypi:
            * WebCore.vcproj/WebCore.vcproj:
            * WebCore.xcodeproj/project.pbxproj:
            * loader/DocumentLoadTiming.h: Added.
            (WebCore::DocumentLoadTiming::DocumentLoadTiming):
            * loader/DocumentLoader.h:
            * loader/FrameLoader.cpp:
            * loader/FrameLoaderTypes.h:
            * loader/MainResourceLoader.cpp:
            * page/Timing.cpp:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64051 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 0a87e01..846f7fa 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,26 @@
+2010-07-26  Tony Gentilcore  <tonyg at chromium.org>
+
+        Reviewed by Darin Fisher.
+
+        Move DocumentLoadTiming struct to a new file
+        https://bugs.webkit.org/show_bug.cgi?id=42917
+
+        Also makes DocumentLoadTiming Noncopyable.
+
+        No new tests because no new functionality.
+
+        * GNUmakefile.am:
+        * WebCore.gypi:
+        * WebCore.vcproj/WebCore.vcproj:
+        * WebCore.xcodeproj/project.pbxproj:
+        * loader/DocumentLoadTiming.h: Added.
+        (WebCore::DocumentLoadTiming::DocumentLoadTiming):
+        * loader/DocumentLoader.h:
+        * loader/FrameLoader.cpp:
+        * loader/FrameLoaderTypes.h:
+        * loader/MainResourceLoader.cpp:
+        * page/Timing.cpp:
+
 2010-07-26  Mark Rowe  <mrowe at apple.com>
 
         Fix an #if in WebCore.exp.in to correctly detect whether SVG filters are enabled.
diff --git a/WebCore/GNUmakefile.am b/WebCore/GNUmakefile.am
index 7a513e2..5b1950f 100644
--- a/WebCore/GNUmakefile.am
+++ b/WebCore/GNUmakefile.am
@@ -1651,6 +1651,7 @@ webcore_sources += \
 	WebCore/loader/CrossOriginPreflightResultCache.h \
 	WebCore/loader/DocLoader.cpp \
 	WebCore/loader/DocLoader.h \
+	WebCore/loader/DocumentLoadTiming.h \
 	WebCore/loader/DocumentLoader.cpp \
 	WebCore/loader/DocumentLoader.h \
 	WebCore/loader/DocumentThreadableLoader.cpp \
diff --git a/WebCore/WebCore.gypi b/WebCore/WebCore.gypi
index 9e24641..b83256e 100644
--- a/WebCore/WebCore.gypi
+++ b/WebCore/WebCore.gypi
@@ -1826,6 +1826,7 @@
             'loader/CrossOriginPreflightResultCache.h',
             'loader/DocLoader.cpp',
             'loader/DocLoader.h',
+            'loader/DocumentLoadTiming.h',
             'loader/DocumentLoader.cpp',
             'loader/DocumentLoader.h',
             'loader/DocumentThreadableLoader.cpp',
diff --git a/WebCore/WebCore.vcproj/WebCore.vcproj b/WebCore/WebCore.vcproj/WebCore.vcproj
index 4479182..a97ffa7 100644
--- a/WebCore/WebCore.vcproj/WebCore.vcproj
+++ b/WebCore/WebCore.vcproj/WebCore.vcproj
@@ -22765,6 +22765,10 @@
 				>
 			</File>
 			<File
+				RelativePath="..\loader\DocumentLoadTiming.h"
+				>
+			</File>
+			<File
 				RelativePath="..\loader\DocumentLoader.cpp"
 				>
 			</File>
diff --git a/WebCore/WebCore.xcodeproj/project.pbxproj b/WebCore/WebCore.xcodeproj/project.pbxproj
index ab88da3..5e4641b 100644
--- a/WebCore/WebCore.xcodeproj/project.pbxproj
+++ b/WebCore/WebCore.xcodeproj/project.pbxproj
@@ -2327,6 +2327,7 @@
 		89BED5EC11BE11CE00448492 /* BlobBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = 89BED5EA11BE11CE00448492 /* BlobBuilder.h */; };
 		89CD029311C85B870070B791 /* JSBlobBuilder.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 89CD029111C85B870070B791 /* JSBlobBuilder.cpp */; };
 		89CD029411C85B870070B791 /* JSBlobBuilder.h in Headers */ = {isa = PBXBuildFile; fileRef = 89CD029211C85B870070B791 /* JSBlobBuilder.h */; };
+		8A12E35D11FA33280025836A /* DocumentLoadTiming.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A12E35C11FA33280025836A /* DocumentLoadTiming.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		8A81BF8511DCFD9000DA2B98 /* ResourceLoadTiming.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A81BF8411DCFD9000DA2B98 /* ResourceLoadTiming.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		8A844D0411D3C18E0014065C /* Performance.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8A844D0111D3C18E0014065C /* Performance.cpp */; };
 		8A844D0511D3C18E0014065C /* Performance.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A844D0211D3C18E0014065C /* Performance.h */; };
@@ -8057,6 +8058,7 @@
 		89CD027911C859A80070B791 /* BlobBuilder.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = BlobBuilder.idl; sourceTree = "<group>"; };
 		89CD029111C85B870070B791 /* JSBlobBuilder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSBlobBuilder.cpp; sourceTree = "<group>"; };
 		89CD029211C85B870070B791 /* JSBlobBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSBlobBuilder.h; sourceTree = "<group>"; };
+		8A12E35C11FA33280025836A /* DocumentLoadTiming.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DocumentLoadTiming.h; sourceTree = "<group>"; };
 		8A81BF8411DCFD9000DA2B98 /* ResourceLoadTiming.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResourceLoadTiming.h; sourceTree = "<group>"; };
 		8A844D0111D3C18E0014065C /* Performance.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Performance.cpp; sourceTree = "<group>"; };
 		8A844D0211D3C18E0014065C /* Performance.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Performance.h; sourceTree = "<group>"; };
@@ -16051,6 +16053,7 @@
 				E1C415D90F655D6F0092D2FB /* CrossOriginPreflightResultCache.h */,
 				BCB16C100979C3BD00467741 /* DocLoader.cpp */,
 				BCB16C110979C3BD00467741 /* DocLoader.h */,
+				8A12E35C11FA33280025836A /* DocumentLoadTiming.h */,
 				93E227DB0AF589AD00D48324 /* DocumentLoader.cpp */,
 				656D371E0ADBA5DE00A4554D /* DocumentLoader.h */,
 				0B9056150F2578BE0095FF6A /* DocumentThreadableLoader.cpp */,
@@ -19856,6 +19859,7 @@
 				5162C7F511F77EFB00612EFE /* SchemeRegistry.h in Headers */,
 				BCDF317C11F8D683003C5BF8 /* UserTypingGestureIndicator.h in Headers */,
 				4F707A9A11EF679400ACDA69 /* InspectorBackendDispatcher.h in Headers */,
+				8A12E35D11FA33280025836A /* DocumentLoadTiming.h in Headers */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
diff --git a/WebCore/loader/DocumentLoadTiming.h b/WebCore/loader/DocumentLoadTiming.h
new file mode 100644
index 0000000..71a1dc4
--- /dev/null
+++ b/WebCore/loader/DocumentLoadTiming.h
@@ -0,0 +1,60 @@
+/*
+ * Copyright (C) 2010 Google, Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GOOGLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#ifndef DocumentLoadTiming_h
+#define DocumentLoadTiming_h
+
+#include <wtf/Noncopyable.h>
+
+namespace WebCore {
+
+struct DocumentLoadTiming : public Noncopyable {
+    DocumentLoadTiming()
+        : navigationStart(0.0)
+        , unloadEventEnd(0.0)
+        , redirectStart(0.0)
+        , redirectEnd(0.0)
+        , redirectCount(0)
+        , fetchStart(0.0)
+        , responseEnd(0.0)
+        , loadEventStart(0.0)
+        , loadEventEnd(0.0)
+    {
+    }
+
+    double navigationStart;
+    double unloadEventEnd;
+    double redirectStart;
+    double redirectEnd;
+    short redirectCount;
+    double fetchStart;
+    double responseEnd;
+    double loadEventStart;
+    double loadEventEnd;
+};
+
+}
+
+#endif
diff --git a/WebCore/loader/DocumentLoader.h b/WebCore/loader/DocumentLoader.h
index da9b4ee..432baa5 100644
--- a/WebCore/loader/DocumentLoader.h
+++ b/WebCore/loader/DocumentLoader.h
@@ -29,6 +29,7 @@
 #ifndef DocumentLoader_h
 #define DocumentLoader_h
 
+#include "DocumentLoadTiming.h"
 #include "NavigationAction.h"
 #include "ResourceError.h"
 #include "ResourceRequest.h"
diff --git a/WebCore/loader/FrameLoader.cpp b/WebCore/loader/FrameLoader.cpp
index 7127148..21bb0f4 100644
--- a/WebCore/loader/FrameLoader.cpp
+++ b/WebCore/loader/FrameLoader.cpp
@@ -45,6 +45,7 @@
 #include "DOMWindow.h"
 #include "DocLoader.h"
 #include "Document.h"
+#include "DocumentLoadTiming.h"
 #include "DocumentLoader.h"
 #include "Editor.h"
 #include "EditorClient.h"
diff --git a/WebCore/loader/FrameLoaderTypes.h b/WebCore/loader/FrameLoaderTypes.h
index 387b067..016de19 100644
--- a/WebCore/loader/FrameLoaderTypes.h
+++ b/WebCore/loader/FrameLoaderTypes.h
@@ -60,32 +60,6 @@ namespace WebCore {
         FrameLoadTypeBackWMLDeckNotAccessible
     };
 
-    // FIXME: Move to DocumentLoadTiming.h.
-    struct DocumentLoadTiming {
-        DocumentLoadTiming()
-            : navigationStart(0.0)
-            , unloadEventEnd(0.0)
-            , redirectStart(0.0)
-            , redirectEnd(0.0)
-            , redirectCount(0)
-            , fetchStart(0.0)
-            , responseEnd(0.0)
-            , loadEventStart(0.0)
-            , loadEventEnd(0.0)
-        {
-        }
-
-        double navigationStart;
-        double unloadEventEnd;
-        double redirectStart;
-        double redirectEnd;
-        short redirectCount;
-        double fetchStart;
-        double responseEnd;
-        double loadEventStart;
-        double loadEventEnd;
-    };
-
     enum NavigationType {
         NavigationTypeLinkClicked,
         NavigationTypeFormSubmitted,
diff --git a/WebCore/loader/MainResourceLoader.cpp b/WebCore/loader/MainResourceLoader.cpp
index f16d640..0308056 100644
--- a/WebCore/loader/MainResourceLoader.cpp
+++ b/WebCore/loader/MainResourceLoader.cpp
@@ -31,6 +31,7 @@
 #include "MainResourceLoader.h"
 
 #include "ApplicationCacheHost.h"
+#include "DocumentLoadTiming.h"
 #include "DocumentLoader.h"
 #include "FormState.h"
 #include "Frame.h"
diff --git a/WebCore/page/Timing.cpp b/WebCore/page/Timing.cpp
index 1eeceb6..df4ed9e 100644
--- a/WebCore/page/Timing.cpp
+++ b/WebCore/page/Timing.cpp
@@ -33,6 +33,7 @@
 
 #if ENABLE(WEB_TIMING)
 
+#include "DocumentLoadTiming.h"
 #include "DocumentLoader.h"
 #include "Frame.h"
 #include "ResourceLoadTiming.h"

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list