• andersca@apple.com's avatar
    Begin stubbing out a KeyedEncoder class in WebCore · 0a62cead
    andersca@apple.com authored
    Reviewed by Sam Weinig.
    * WebCore.exp.in:
    Add symbol needed by WebCore.
    * WebCore.xcodeproj/project.pbxproj:
    Add new header file.
    * history/HistoryItem.cpp:
    * history/HistoryItem.h:
    Add an encodeBackForwardTree overload that takes a KeyedEncoder object. Encode the version.
    * platform/KeyedCoding.h:
    Add a KeyedEncoder class that just has a single encodeUInt32 member function for now.
    * Shared/KeyedEncoder.h: Removed.
    * Shared/cf/KeyedCodingValueCF.cpp: Removed.
    * Shared/cf/KeyedEncoder.cpp: Added.
    Remove old keyed encoders.
    Helper function to create a mutable dictionary.
    Create the root dictionary.
    Create a CFNumberRef and add it to the dictionary.
    * Shared/cf/KeyedEncoder.h: Added.
    * WebKit2.xcodeproj/project.pbxproj:
    Add new files.
    * WebProcess/WebPage/WebBackForwardListProxy.cpp:
    Create a KeyedEncoder and encode the history tree.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog 200 KB