• wangxianzhu@chromium.org's avatar
    Move WebCore/platform/text/Base64 to WTF/wtf/text · d62b6c81
    wangxianzhu@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=91162
    
    Reviewed by Adam Barth.
    
    Source/WebCore:
    
    No new tests. Files moving only.
    
    * CMakeLists.txt:
    * GNUmakefile.list.am:
    * Modules/websockets/WebSocketHandshake.cpp:
    (WebCore::generateSecWebSocketKey):
    (WebCore::WebSocketHandshake::getExpectedWebSocketAccept):
    * Target.pri:
    * WebCore.gypi:
    * WebCore.order:
    * WebCore.vcproj/WebCore.vcproj:
    * WebCore.xcodeproj/project.pbxproj:
    * fileapi/FileReaderLoader.cpp:
    (WebCore::FileReaderLoader::convertToDataURL):
    * inspector/DOMPatchSupport.cpp:
    (WebCore::DOMPatchSupport::createDigest):
    * inspector/InspectorFileSystemAgent.cpp:
    (WebCore):
    * inspector/InspectorPageAgent.cpp:
    (WebCore::InspectorPageAgent::cachedResourceContent):
    (WebCore::InspectorPageAgent::sharedBufferContent):
    * loader/archive/mhtml/MHTMLArchive.cpp:
    (WebCore::MHTMLArchive::generateMHTMLData):
    * loader/archive/mhtml/MHTMLParser.cpp:
    (WebCore::MHTMLParser::parseNextPart):
    * page/DOMWindow.cpp:
    (WebCore::DOMWindow::btoa):
    (WebCore::DOMWindow::atob):
    * page/Page.cpp:
    (WebCore::Page::userStyleSheetLocationChanged):
    * platform/graphics/cairo/ImageBufferCairo.cpp:
    (WebCore::ImageBuffer::toDataURL):
    * platform/graphics/cg/ImageBufferCG.cpp:
    (WebCore::CGImageToDataURL):
    * platform/graphics/gtk/ImageBufferGtk.cpp:
    (WebCore::ImageBuffer::toDataURL):
    * platform/graphics/skia/FontCustomPlatformData.cpp:
    (WebCore::createUniqueFontName):
    * platform/graphics/skia/ImageBufferSkia.cpp:
    (WebCore::ImageBuffer::toDataURL):
    (WebCore::ImageDataToDataURL):
    * platform/graphics/win/FontCustomPlatformData.cpp:
    (WebCore::createUniqueFontName):
    * platform/graphics/wince/FontCustomPlatformData.cpp:
    (WebCore::createUniqueFontName):
    * platform/graphics/wince/ImageBufferWinCE.cpp:
    * platform/graphics/wx/ImageBufferWx.cpp:
    * platform/network/DataURL.cpp:
    (WebCore::handleDataURL):
    * platform/network/cf/ResourceHandleCFNet.cpp:
    (WebCore::applyBasicAuthorizationHeader):
    * platform/network/mac/ResourceHandleMac.mm:
    (WebCore::applyBasicAuthorizationHeader):
    * platform/network/soup/ResourceHandleSoup.cpp:
    * platform/win/SSLKeyGeneratorWin.cpp:
    (WebCore::WebCore::signedPublicKeyAndChallengeString):
    
    Source/WebKit/blackberry:
    
    * Api/WebKitTextCodec.cpp:
    (BlackBerry::WebKit::base64DecodePolicyForWTF):
    (BlackBerry::WebKit::base64Decode):
    (BlackBerry::WebKit::base64EncodePolicyForWTF):
    (BlackBerry::WebKit::base64Encode):
    * Api/WebSettings.cpp:
    (BlackBerry::WebKit::WebSettings::setUserStyleSheetString):
    * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
    
    Source/WTF:
    
    * GNUmakefile.list.am:
    * WTF.gypi:
    * WTF.pro:
    * WTF.vcproj/WTF.vcproj:
    * WTF.xcodeproj/project.pbxproj:
    * wtf/CMakeLists.txt:
    * wtf/text/Base64.cpp: Renamed from Source/WebCore/platform/text/Base64.cpp.
    (WTF):
    (WTF::base64Encode):
    (WTF::base64Decode):
    (WTF::base64DecodeInternal):
    * wtf/text/Base64.h: Renamed from Source/WebCore/platform/text/Base64.h.
    (WTF):
    (WTF::base64Encode):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d62b6c81
JavaScriptCore.def 22.1 KB