| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005, 2006, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 int64_t encodedDataLength, | 105 int64_t encodedDataLength, |
| 106 int64_t encodedBodyLength) override; | 106 int64_t encodedBodyLength) override; |
| 107 | 107 |
| 108 void didFinishLoadingFirstPartInMultipart(); | 108 void didFinishLoadingFirstPartInMultipart(); |
| 109 void didFail(const ResourceError&); | 109 void didFail(const ResourceError&); |
| 110 | 110 |
| 111 private: | 111 private: |
| 112 // Assumes ResourceFetcher and Resource are non-null. | 112 // Assumes ResourceFetcher and Resource are non-null. |
| 113 ResourceLoader(ResourceFetcher*, Resource*); | 113 ResourceLoader(ResourceFetcher*, Resource*); |
| 114 | 114 |
| 115 void cancelForRedirectAccessCheckError(const KURL&); | 115 void cancelForRedirectAccessCheckError(const KURL&, |
| 116 ResourceRequestBlockedReason); |
| 116 void requestSynchronously(const ResourceRequest&); | 117 void requestSynchronously(const ResourceRequest&); |
| 117 | 118 |
| 118 std::unique_ptr<WebURLLoader> m_loader; | 119 std::unique_ptr<WebURLLoader> m_loader; |
| 119 Member<ResourceFetcher> m_fetcher; | 120 Member<ResourceFetcher> m_fetcher; |
| 120 Member<Resource> m_resource; | 121 Member<Resource> m_resource; |
| 121 bool m_isCacheAwareLoadingActivated; | 122 bool m_isCacheAwareLoadingActivated; |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 } // namespace blink | 125 } // namespace blink |
| 125 | 126 |
| 126 #endif | 127 #endif |
| OLD | NEW |