| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef FetchContext_h | 31 #ifndef FetchContext_h |
| 32 #define FetchContext_h | 32 #define FetchContext_h |
| 33 | 33 |
| 34 #include "core/fetch/CachePolicy.h" | 34 #include "sky/engine/core/fetch/CachePolicy.h" |
| 35 #include "core/fetch/FetchInitiatorInfo.h" | 35 #include "sky/engine/core/fetch/FetchInitiatorInfo.h" |
| 36 #include "core/fetch/Resource.h" | 36 #include "sky/engine/core/fetch/Resource.h" |
| 37 #include "platform/network/ResourceLoadPriority.h" | 37 #include "sky/engine/platform/network/ResourceLoadPriority.h" |
| 38 #include "wtf/Noncopyable.h" | 38 #include "sky/engine/wtf/Noncopyable.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class Document; | 42 class Document; |
| 43 class LocalFrame; | 43 class LocalFrame; |
| 44 class KURL; | 44 class KURL; |
| 45 class Page; | 45 class Page; |
| 46 class ResourceError; | 46 class ResourceError; |
| 47 class ResourceLoader; | 47 class ResourceLoader; |
| 48 class ResourceResponse; | 48 class ResourceResponse; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 72 virtual void dispatchDidReceiveData(Document*, unsigned long identifier, con
st char* data, int dataLength, int encodedDataLength); | 72 virtual void dispatchDidReceiveData(Document*, unsigned long identifier, con
st char* data, int dataLength, int encodedDataLength); |
| 73 virtual void dispatchDidDownloadData(Document*, unsigned long identifier, in
t dataLength, int encodedDataLength); | 73 virtual void dispatchDidDownloadData(Document*, unsigned long identifier, in
t dataLength, int encodedDataLength); |
| 74 virtual void dispatchDidFinishLoading(Document*, unsigned long identifier, d
ouble finishTime, int64_t encodedDataLength); | 74 virtual void dispatchDidFinishLoading(Document*, unsigned long identifier, d
ouble finishTime, int64_t encodedDataLength); |
| 75 virtual void dispatchDidFail(Document*, unsigned long identifier, const Reso
urceError&); | 75 virtual void dispatchDidFail(Document*, unsigned long identifier, const Reso
urceError&); |
| 76 virtual void sendRemainingDelegateMessages(Document*, unsigned long identifi
er, const ResourceResponse&, int dataLength); | 76 virtual void sendRemainingDelegateMessages(Document*, unsigned long identifi
er, const ResourceResponse&, int dataLength); |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } | 79 } |
| 80 | 80 |
| 81 #endif | 81 #endif |
| OLD | NEW |