| 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 24 matching lines...) Expand all Loading... |
| 35 #include "core/fetch/FetchInitiatorInfo.h" | 35 #include "core/fetch/FetchInitiatorInfo.h" |
| 36 #include "core/fetch/Resource.h" | 36 #include "core/fetch/Resource.h" |
| 37 #include "platform/heap/Handle.h" | 37 #include "platform/heap/Handle.h" |
| 38 #include "platform/network/ResourceLoadPriority.h" | 38 #include "platform/network/ResourceLoadPriority.h" |
| 39 #include "wtf/Noncopyable.h" | 39 #include "wtf/Noncopyable.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class Document; | 43 class Document; |
| 44 class DocumentLoader; | 44 class DocumentLoader; |
| 45 class LocalFrame; | |
| 46 class KURL; | 45 class KURL; |
| 47 class Page; | |
| 48 class ResourceError; | 46 class ResourceError; |
| 49 class ResourceLoader; | 47 class ResourceLoader; |
| 50 class ResourceResponse; | 48 class ResourceResponse; |
| 51 class ResourceRequest; | 49 class ResourceRequest; |
| 52 | 50 |
| 53 enum FetchResourceType { | 51 enum FetchResourceType { |
| 54 FetchMainResource, | 52 FetchMainResource, |
| 55 FetchSubresource | 53 FetchSubresource |
| 56 }; | 54 }; |
| 57 | 55 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 76 virtual void dispatchDidReceiveData(DocumentLoader*, unsigned long identifie
r, const char* data, int dataLength, int encodedDataLength); | 74 virtual void dispatchDidReceiveData(DocumentLoader*, unsigned long identifie
r, const char* data, int dataLength, int encodedDataLength); |
| 77 virtual void dispatchDidDownloadData(DocumentLoader*, unsigned long identifi
er, int dataLength, int encodedDataLength); | 75 virtual void dispatchDidDownloadData(DocumentLoader*, unsigned long identifi
er, int dataLength, int encodedDataLength); |
| 78 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif
ier, double finishTime, int64_t encodedDataLength); | 76 virtual void dispatchDidFinishLoading(DocumentLoader*, unsigned long identif
ier, double finishTime, int64_t encodedDataLength); |
| 79 virtual void dispatchDidFail(DocumentLoader*, unsigned long identifier, cons
t ResourceError&); | 77 virtual void dispatchDidFail(DocumentLoader*, unsigned long identifier, cons
t ResourceError&); |
| 80 virtual void sendRemainingDelegateMessages(DocumentLoader*, unsigned long id
entifier, const ResourceResponse&, int dataLength); | 78 virtual void sendRemainingDelegateMessages(DocumentLoader*, unsigned long id
entifier, const ResourceResponse&, int dataLength); |
| 81 }; | 79 }; |
| 82 | 80 |
| 83 } | 81 } |
| 84 | 82 |
| 85 #endif | 83 #endif |
| OLD | NEW |