-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=49213 Reviewed by Adam Roben. * DerivedSources.make: * DerivedSources.pro: Add Download.messages.in. * Platform/CoreIPC/MessageID.h: Add MessageClassDownloadProxy message class. * Platform/CoreIPC/MessageSender.h: Include Connection.h directly since it's required. * UIProcess/Downloads/DownloadProxy.cpp: (WebKit::DownloadProxy::didBegin): (WebKit::DownloadProxy::didCreateDestination): (WebKit::DownloadProxy::didFinish): Add stubs. * UIProcess/Downloads/DownloadProxy.messages.in: Added. * UIProcess/WebContext.cpp: (WebKit::WebContext::didReceiveMessage): Handle DownloadProxy messages. * UIProcess/WebProcessProxy.cpp: (WebKit::WebProcessProxy::didReceiveMessage): Hand DownloadProxy messages off to the context. * WebKit2.pro: * WebKit2.xcodeproj/project.pbxproj: Add new files. * WebProcess/Downloads/Download.cpp: (WebKit::Download::didBegin): (WebKit::Download::didReceiveData): (WebKit::Download::didCreateDestination): (WebKit::Download::didFinish): Send messages. * WebProcess/Downloads/mac/DownloadMac.mm: (-[WKDownloadAsDelegate download:didCreateDestination:]): Call Download::didCreateDestination. * win/WebKit2.vcproj: Add new files. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d06a84ec