Reviewed by Tim.
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Nov 2006 18:47:11 +0000 (18:47 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Nov 2006 18:47:11 +0000 (18:47 +0000)
        Add back methods in WebCoreStatistics that are still used by Tiger Safari.

        * Misc/WebCoreStatistics.h:
        * Misc/WebCoreStatistics.m:
        (+[WebCoreStatistics emptyCache]):
        (+[WebCoreStatistics setCacheDisabled:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17925 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/Misc/WebCoreStatistics.h
WebKit/Misc/WebCoreStatistics.m
WebKit/WebKit.xcodeproj/project.pbxproj

index dfb6517e7eb7d22cc0f91a6c4da2688ea7a98f76..6613b5809e065a9dc8d13dcd807511156d0e84ff 100644 (file)
@@ -1,3 +1,14 @@
+2006-11-29  Anders Carlsson  <acarlsson@apple.com>
+
+        Reviewed by Tim.
+
+        Add back methods in WebCoreStatistics that are still used by Tiger Safari.
+        
+        * Misc/WebCoreStatistics.h:
+        * Misc/WebCoreStatistics.m:
+        (+[WebCoreStatistics emptyCache]):
+        (+[WebCoreStatistics setCacheDisabled:]):
+
 2006-11-28  Alice Liu  <alice.liu@apple.com>
 
         Reviewed by Maciej.
index d736b4522069edc0182a4d6a98d9f7c60677cf54..2eca7beaa313f6fbdaa4dca9ca5ccae9378bb0dd 100644 (file)
@@ -43,6 +43,9 @@
 + (void)garbageCollectJavaScriptObjects;
 + (void)garbageCollectJavaScriptObjectsOnAlternateThread:(BOOL)waitUntilDone;
 
+// These have been moved to WebCache but need to be around because they're needed by Tiger Safari.
++ (void)emptyCache;
++ (void)setCacheDisabled:(BOOL)disabled;
 
 // deprecated
 + (size_t)javaScriptNoGCAllowedObjectsCount;
index edffd2b15159e285f2474781d0b16b84b6b304f0..025bb4563b7f10cd667e39bd1465fb65f157cb7a 100644 (file)
     [WebCoreJavaScript setShouldPrintExceptions:print];
 }
 
++ (void)emptyCache
+{
+    [WebCache empty];
+}
+
++ (void)setCacheDisabled:(BOOL)disabled
+{
+    [WebCache setDisabled:disabled];
+}
+
 @end
 
 @implementation WebFrame (WebKitDebug)
index 2f62e262cb1a3cab68b0c5a9e81819b29a82d3a9..82a13986c19fc471ae67b70e6d68c20c3233cf65 100644 (file)
                        children = (
                                5241ADF30B1BC48A004012BD /* WebCache.h */,
                                5241ADF40B1BC48A004012BD /* WebCache.mm */,
+                               F59EAE3E0253C7EE018635CA /* WebCoreStatistics.h */,
+                               F59EAE410253C8DE018635CA /* WebCoreStatistics.m */,
                                6578F5DE045F817400000128 /* WebDownload.h */,
                                6578F5DF045F817400000128 /* WebDownload.m */,
                                ABDDF20C08EB0DDC001E1241 /* WebDownloadInternal.h */,
                F52CA6C002DF9D78018635CA /* Download */ = {
                        isa = PBXGroup;
                        children = (
-                               F59EAE3E0253C7EE018635CA /* WebCoreStatistics.h */,
-                               F59EAE410253C8DE018635CA /* WebCoreStatistics.m */,
                                93AEB17D032C1735008635CE /* WebKitLogging.h */,
                                93AEB17E032C1735008635CE /* WebKitLogging.m */,
                                F53444CE02E87CBA018635CA /* WebKitStatistics.h */,