OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> | 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> |
4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. | 4 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. |
5 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ | 5 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ |
6 | 6 |
7 This library is free software; you can redistribute it and/or | 7 This library is free software; you can redistribute it and/or |
8 modify it under the terms of the GNU Library General Public | 8 modify it under the terms of the GNU Library General Public |
9 License as published by the Free Software Foundation; either | 9 License as published by the Free Software Foundation; either |
10 version 2 of the License, or (at your option) any later version. | 10 version 2 of the License, or (at your option) any later version. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 void setDefersLoading(bool); | 106 void setDefersLoading(bool); |
107 void stopFetching(); | 107 void stopFetching(); |
108 bool isFetching() const; | 108 bool isFetching() const; |
109 | 109 |
110 void didLoadResource(); | 110 void didLoadResource(); |
111 void redirectReceived(Resource*, const ResourceResponse&); | 111 void redirectReceived(Resource*, const ResourceResponse&); |
112 void didFinishLoading(Resource*, double finishTime, int64_t encodedDataLengt
h); | 112 void didFinishLoading(Resource*, double finishTime, int64_t encodedDataLengt
h); |
113 void didChangeLoadingPriority(const Resource*, ResourceLoadPriority, int int
raPriorityValue); | 113 void didChangeLoadingPriority(const Resource*, ResourceLoadPriority, int int
raPriorityValue); |
114 void didFailLoading(const Resource*, const ResourceError&); | 114 void didFailLoading(const Resource*, const ResourceError&); |
115 void willSendRequest(unsigned long identifier, ResourceRequest&, const Resou
rceResponse& redirectResponse, const FetchInitiatorInfo&); | 115 void willSendRequest(unsigned long identifier, ResourceRequest&, const Resou
rceResponse& redirectResponse, const FetchInitiatorInfo&); |
116 void didReceiveResponse(const Resource*, const ResourceResponse&); | 116 void didReceiveResponse(Resource*, const ResourceResponse&); |
117 void didReceiveData(const Resource*, const char* data, int dataLength, int e
ncodedDataLength); | 117 void didReceiveData(const Resource*, const char* data, int dataLength, int e
ncodedDataLength); |
118 void didDownloadData(const Resource*, int dataLength, int encodedDataLength)
; | 118 void didDownloadData(const Resource*, int dataLength, int encodedDataLength)
; |
119 void subresourceLoaderFinishedLoadingOnePart(ResourceLoader*); | 119 void subresourceLoaderFinishedLoadingOnePart(ResourceLoader*); |
120 void didInitializeResourceLoader(ResourceLoader*); | 120 void didInitializeResourceLoader(ResourceLoader*); |
121 void willStartLoadingResource(Resource*, ResourceRequest&); | 121 void willStartLoadingResource(Resource*, ResourceRequest&); |
122 bool defersLoading() const; | 122 bool defersLoading() const; |
123 bool isLoadedBy(ResourceFetcher*) const; | 123 bool isLoadedBy(ResourceFetcher*) const; |
124 | 124 |
125 enum AccessControlLoggingDecision { | 125 enum AccessControlLoggingDecision { |
126 ShouldLogAccessControlErrors, | 126 ShouldLogAccessControlErrors, |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 m_loader->m_allowStaleResources = m_previousState; | 241 m_loader->m_allowStaleResources = m_previousState; |
242 } | 242 } |
243 private: | 243 private: |
244 Member<ResourceFetcher> m_loader; | 244 Member<ResourceFetcher> m_loader; |
245 bool m_previousState; | 245 bool m_previousState; |
246 }; | 246 }; |
247 | 247 |
248 } // namespace blink | 248 } // namespace blink |
249 | 249 |
250 #endif // ResourceFetcher_h | 250 #endif // ResourceFetcher_h |
OLD | NEW |