Changeset 112633 in webkit
- Timestamp:
- Mar 29, 2012 6:36:05 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112632 r112633 1 2012-03-29 Adam Barth <abarth@webkit.org> 2 3 Unreviewed, rolling out r112579. 4 http://trac.webkit.org/changeset/112579 5 https://bugs.webkit.org/show_bug.cgi?id=82657 6 7 Does not compile in Windows component build 8 9 * WebCore.gypi: 10 1 11 2012-03-29 Adam Barth <abarth@webkit.org> 2 12 -
trunk/Source/WebCore/WebCore.gypi
r112628 r112633 3281 3281 'platform/chromium/support/WebURLResponse.cpp', 3282 3282 'platform/chromium/support/WebURLResponsePrivate.h', 3283 'platform/chromium/support/WrappedResourceRequest.h',3284 'platform/chromium/support/WrappedResourceResponse.h',3285 3283 'platform/cocoa/KeyEventCocoa.h', 3286 3284 'platform/cocoa/KeyEventCocoa.mm', … … 4269 4267 'platform/network/chromium/DNSChromium.cpp', 4270 4268 'platform/network/chromium/ResourceError.h', 4271 'platform/network/chromium/ResourceHandle.cpp',4272 'platform/network/chromium/ResourceHandleInternal.h',4273 4269 'platform/network/chromium/ResourceRequest.cpp', 4274 4270 'platform/network/chromium/ResourceRequest.h', -
trunk/Source/WebKit/chromium/ChangeLog
r112579 r112633 1 2012-03-29 Adam Barth <abarth@webkit.org> 2 3 Unreviewed, rolling out r112579. 4 http://trac.webkit.org/changeset/112579 5 https://bugs.webkit.org/show_bug.cgi?id=82657 6 7 Does not compile in Windows component build 8 9 * WebKit.gyp: 10 * src/ResourceHandle.cpp: Renamed from Source/WebCore/platform/network/chromium/ResourceHandle.cpp. 11 (WebCore): 12 (WebCore::ResourceHandleInternal::ResourceHandleInternal): 13 (WebCore::ResourceHandleInternal::start): 14 (WebCore::ResourceHandleInternal::cancel): 15 (WebCore::ResourceHandleInternal::setDefersLoading): 16 (WebCore::ResourceHandleInternal::allowStoredCredentials): 17 (WebCore::ResourceHandleInternal::willSendRequest): 18 (WebCore::ResourceHandleInternal::didSendData): 19 (WebCore::ResourceHandleInternal::didReceiveResponse): 20 (WebCore::ResourceHandleInternal::didDownloadData): 21 (WebCore::ResourceHandleInternal::didReceiveData): 22 (WebCore::ResourceHandleInternal::didReceiveCachedMetadata): 23 (WebCore::ResourceHandleInternal::didFinishLoading): 24 (WebCore::ResourceHandleInternal::didFail): 25 (WebCore::ResourceHandleInternal::FromResourceHandle): 26 (WebCore::ResourceHandle::ResourceHandle): 27 (WebCore::ResourceHandle::create): 28 (WebCore::ResourceHandle::firstRequest): 29 (WebCore::ResourceHandle::client): 30 (WebCore::ResourceHandle::setClient): 31 (WebCore::ResourceHandle::setDefersLoading): 32 (WebCore::ResourceHandle::start): 33 (WebCore::ResourceHandle::hasAuthenticationChallenge): 34 (WebCore::ResourceHandle::clearAuthentication): 35 (WebCore::ResourceHandle::cancel): 36 (WebCore::ResourceHandle::~ResourceHandle): 37 (WebCore::ResourceHandle::loadsBlocked): 38 (WebCore::ResourceHandle::loadResourceSynchronously): 39 (WebCore::ResourceHandle::willLoadFromCache): 40 (WebCore::ResourceHandle::cacheMetadata): 41 * src/ResourceHandleInternal.h: Renamed from Source/WebCore/platform/network/chromium/ResourceHandleInternal.h. 42 (WebCore): 43 (ResourceHandleInternal): 44 (WebCore::ResourceHandleInternal::~ResourceHandleInternal): 45 (WebCore::ResourceHandleInternal::setOwner): 46 (WebCore::ResourceHandleInternal::request): 47 (WebCore::ResourceHandleInternal::client): 48 (WebCore::ResourceHandleInternal::setClient): 49 (WebCore::ResourceHandleInternal::loader): 50 * src/WrappedResourceRequest.h: Renamed from Source/WebCore/platform/chromium/support/WrappedResourceRequest.h. 51 (WebKit): 52 (WrappedResourceRequest): 53 (WebKit::WrappedResourceRequest::~WrappedResourceRequest): 54 (WebKit::WrappedResourceRequest::WrappedResourceRequest): 55 (WebKit::WrappedResourceRequest::bind): 56 (Handle): 57 (WebKit::WrappedResourceRequest::Handle::dispose): 58 * src/WrappedResourceResponse.h: Renamed from Source/WebCore/platform/chromium/support/WrappedResourceResponse.h. 59 (WebKit): 60 (WrappedResourceResponse): 61 (WebKit::WrappedResourceResponse::~WrappedResourceResponse): 62 (WebKit::WrappedResourceResponse::WrappedResourceResponse): 63 (WebKit::WrappedResourceResponse::bind): 64 (Handle): 65 (WebKit::WrappedResourceResponse::Handle::dispose): 66 1 67 2012-03-29 Adam Barth <abarth@webkit.org> 2 68 -
trunk/Source/WebKit/chromium/WebKit.gyp
r112579 r112633 471 471 'src/PlatformMessagePortChannel.h', 472 472 'src/PlatformSupport.cpp', 473 'src/ResourceHandle.cpp', 473 474 'src/ScrollbarGroup.cpp', 474 475 'src/ScrollbarGroup.h', … … 693 694 'src/WorkerFileWriterCallbacksBridge.cpp', 694 695 'src/WorkerFileWriterCallbacksBridge.h', 696 'src/WrappedResourceRequest.h', 697 'src/WrappedResourceResponse.h', 695 698 'src/win/WebInputEventFactory.cpp', 696 699 'src/win/WebScreenInfoFactory.cpp', -
trunk/Source/WebKit/chromium/src/ResourceHandle.cpp
r112632 r112633 37 37 #include "ResourceRequest.h" 38 38 #include "SharedBuffer.h" 39 40 #include "WebKit.h" 41 #include "platform/WebKitPlatformSupport.h" 42 #include "platform/WebURLError.h" 43 #include "platform/WebURLLoader.h" 44 #include "platform/WebURLLoaderClient.h" 45 #include "platform/WebURLRequest.h" 46 #include "platform/WebURLResponse.h" 39 47 #include "WrappedResourceRequest.h" 40 48 #include "WrappedResourceResponse.h" 41 #include <public/Platform.h>42 #include <public/WebURLError.h>43 #include <public/WebURLLoader.h>44 #include <public/WebURLLoaderClient.h>45 #include <public/WebURLRequest.h>46 #include <public/WebURLResponse.h>47 49 48 50 using namespace WebKit; … … 56 58 , m_client(client) 57 59 , m_state(ConnectionStateNew) 58 { 59 } 60 { } 60 61 61 62 void ResourceHandleInternal::start() … … 65 66 m_state = ConnectionStateStarted; 66 67 67 m_loader = adoptPtr( Platform::current()->createURLLoader());68 m_loader = adoptPtr(webKitPlatformSupport()->createURLLoader()); 68 69 ASSERT(m_loader); 69 70 … … 245 246 bool ResourceHandle::loadsBlocked() 246 247 { 247 return false; // This seems to be related to sync XMLHttpRequest...248 return false; // This seems to be related to sync XMLHttpRequest... 248 249 } 249 250 … … 256 257 Vector<char>& data) 257 258 { 258 OwnPtr<WebURLLoader> loader = adoptPtr( Platform::current()->createURLLoader());259 OwnPtr<WebURLLoader> loader = adoptPtr(webKitPlatformSupport()->createURLLoader()); 259 260 ASSERT(loader); 260 261 … … 277 278 // This method is used to determine if a POST request can be repeated from 278 279 // cache, but you cannot really know until you actually try to read from the 279 // cache. Even if we checked now, something else could come along and wipe280 // cache. Even if we checked now, something else could come along and wipe 280 281 // out the cache entry by the time we fetch it. 281 282 // 282 283 // So, we always say yes here, to prevent the FrameLoader from initiating a 283 // reload. Then in FrameLoaderClientImpl::dispatchWillSendRequest, we284 // reload. Then in FrameLoaderClientImpl::dispatchWillSendRequest, we 284 285 // fix-up the cache policy of the request to force a load from the cache. 285 286 // … … 291 292 void ResourceHandle::cacheMetadata(const ResourceResponse& response, const Vector<char>& data) 292 293 { 293 // FIXME: This should use Platform::current() directly.294 294 PlatformSupport::cacheMetadata(response.url(), response.responseTime(), data); 295 295 } -
trunk/Source/WebKit/chromium/src/ResourceHandleInternal.h
r112632 r112633 33 33 34 34 #include "ResourceRequest.h" 35 #include <public/WebCommon.h>36 #include <public/WebURLLoader.h>37 #include <public/WebURLLoaderClient.h>35 #include "platform/WebCommon.h" 36 #include "platform/WebURLLoader.h" 37 #include "platform/WebURLLoaderClient.h" 38 38 39 39 namespace WebCore { -
trunk/Source/WebKit/chromium/src/WrappedResourceRequest.h
r112632 r112633 32 32 #define WrappedResourceRequest_h 33 33 34 #include "platform/WebURLRequest.h" 34 35 #include "WebURLRequestPrivate.h" 35 #include <public/WebURLRequest.h>36 36 37 37 namespace WebKit { -
trunk/Source/WebKit/chromium/src/WrappedResourceResponse.h
r112632 r112633 32 32 #define WrappedResourceResponse_h 33 33 34 #include "platform/WebURLResponse.h" 34 35 #include "WebURLResponsePrivate.h" 35 #include <public/WebURLResponse.h>36 36 37 37 namespace WebKit {
Note: See TracChangeset
for help on using the changeset viewer.