| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This file replaces WebCore/platform/network/win/ResourceHandleWin.cpp with a | 5 // This file replaces WebCore/platform/network/win/ResourceHandleWin.cpp with a |
| 6 // platform-neutral implementation that simply defers almost entirely to | 6 // platform-neutral implementation that simply defers almost entirely to |
| 7 // ResouceLoaderBridge. | 7 // ResouceLoaderBridge. |
| 8 // | 8 // |
| 9 // This uses the same ResourceHandle.h header file that the rest of WebKit | 9 // This uses the same ResourceHandle.h header file that the rest of WebKit |
| 10 // uses, allowing us to avoid complicated changes. Our specific things are | 10 // uses, allowing us to avoid complicated changes. Our specific things are |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 #include "config.h" | 25 #include "config.h" |
| 26 | 26 |
| 27 #pragma warning(push, 0) | 27 #pragma warning(push, 0) |
| 28 #include "CString.h" | 28 #include "CString.h" |
| 29 #include "Console.h" | 29 #include "Console.h" |
| 30 #include "DocLoader.h" | 30 #include "DocLoader.h" |
| 31 #include "DOMWindow.h" | 31 #include "DOMWindow.h" |
| 32 #include "FormData.h" | 32 #include "FormData.h" |
| 33 #include "FrameLoader.h" | 33 #include "FrameLoader.h" |
| 34 #include "LogWin.h" | |
| 35 #include "Page.h" | 34 #include "Page.h" |
| 36 #include "ResourceError.h" | 35 #include "ResourceError.h" |
| 37 #include "ResourceHandle.h" | 36 #include "ResourceHandle.h" |
| 38 #include "ResourceHandleClient.h" | 37 #include "ResourceHandleClient.h" |
| 39 #include "ResourceRequest.h" | 38 #include "ResourceRequest.h" |
| 40 #include "ResourceResponse.h" | 39 #include "ResourceResponse.h" |
| 41 #pragma warning(pop) | 40 #pragma warning(pop) |
| 42 | 41 |
| 43 #undef LOG | 42 #undef LOG |
| 44 #include "base/logging.h" | 43 #include "base/logging.h" |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 // cache policy at this point to ensure that we never hit the network for | 730 // cache policy at this point to ensure that we never hit the network for |
| 732 // this request. | 731 // this request. |
| 733 // | 732 // |
| 734 DCHECK(request.httpMethod() == "POST"); | 733 DCHECK(request.httpMethod() == "POST"); |
| 735 request.setCachePolicy(ReturnCacheDataDontLoad); | 734 request.setCachePolicy(ReturnCacheDataDontLoad); |
| 736 return true; | 735 return true; |
| 737 } | 736 } |
| 738 | 737 |
| 739 } // namespace WebCore | 738 } // namespace WebCore |
| 740 | 739 |
| OLD | NEW |