OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 190 |
191 AtomicString httpContentType() const; | 191 AtomicString httpContentType() const; |
192 | 192 |
193 // These functions return parsed values of the corresponding response headers. | 193 // These functions return parsed values of the corresponding response headers. |
194 // NaN means that the header was not present or had invalid value. | 194 // NaN means that the header was not present or had invalid value. |
195 bool cacheControlContainsNoCache() const; | 195 bool cacheControlContainsNoCache() const; |
196 bool cacheControlContainsNoStore() const; | 196 bool cacheControlContainsNoStore() const; |
197 bool cacheControlContainsMustRevalidate() const; | 197 bool cacheControlContainsMustRevalidate() const; |
198 bool hasCacheValidatorFields() const; | 198 bool hasCacheValidatorFields() const; |
199 double cacheControlMaxAge() const; | 199 double cacheControlMaxAge() const; |
200 double cacheControlStaleWhileRevalidate() const; | |
201 double date() const; | 200 double date() const; |
202 double age() const; | 201 double age() const; |
203 double expires() const; | 202 double expires() const; |
204 double lastModified() const; | 203 double lastModified() const; |
205 | 204 |
206 unsigned connectionID() const; | 205 unsigned connectionID() const; |
207 void setConnectionID(unsigned); | 206 void setConnectionID(unsigned); |
208 | 207 |
209 bool connectionReused() const; | 208 bool connectionReused() const; |
210 void setConnectionReused(bool); | 209 void setConnectionReused(bool); |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 long long m_encodedDataLength; | 540 long long m_encodedDataLength; |
542 long long m_encodedBodyLength; | 541 long long m_encodedBodyLength; |
543 long long m_decodedBodyLength; | 542 long long m_decodedBodyLength; |
544 String m_downloadedFilePath; | 543 String m_downloadedFilePath; |
545 RefPtr<BlobDataHandle> m_downloadedFileHandle; | 544 RefPtr<BlobDataHandle> m_downloadedFileHandle; |
546 }; | 545 }; |
547 | 546 |
548 } // namespace blink | 547 } // namespace blink |
549 | 548 |
550 #endif // ResourceResponse_h | 549 #endif // ResourceResponse_h |
OLD | NEW |