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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 | 234 |
235 bool wasAlternateProtocolAvailable() const | 235 bool wasAlternateProtocolAvailable() const |
236 { | 236 { |
237 return m_wasAlternateProtocolAvailable; | 237 return m_wasAlternateProtocolAvailable; |
238 } | 238 } |
239 void setWasAlternateProtocolAvailable(bool value) | 239 void setWasAlternateProtocolAvailable(bool value) |
240 { | 240 { |
241 m_wasAlternateProtocolAvailable = value; | 241 m_wasAlternateProtocolAvailable = value; |
242 } | 242 } |
243 | 243 |
244 bool wasFetchedViaProxy() const { return m_wasFetchedViaProxy; } | |
245 void setWasFetchedViaProxy(bool value) { m_wasFetchedViaProxy = value; } | |
246 | |
247 bool wasFetchedViaServiceWorker() const { return m_wasFetchedViaServiceWorke
r; } | 244 bool wasFetchedViaServiceWorker() const { return m_wasFetchedViaServiceWorke
r; } |
248 void setWasFetchedViaServiceWorker(bool value) { m_wasFetchedViaServiceWorke
r = value; } | 245 void setWasFetchedViaServiceWorker(bool value) { m_wasFetchedViaServiceWorke
r = value; } |
249 | 246 |
250 bool wasFetchedViaForeignFetch() const { return m_wasFetchedViaForeignFetch;
} | 247 bool wasFetchedViaForeignFetch() const { return m_wasFetchedViaForeignFetch;
} |
251 void setWasFetchedViaForeignFetch(bool value) { m_wasFetchedViaForeignFetch
= value; } | 248 void setWasFetchedViaForeignFetch(bool value) { m_wasFetchedViaForeignFetch
= value; } |
252 | 249 |
253 bool wasFallbackRequiredByServiceWorker() const { return m_wasFallbackRequir
edByServiceWorker; } | 250 bool wasFallbackRequiredByServiceWorker() const { return m_wasFallbackRequir
edByServiceWorker; } |
254 void setWasFallbackRequiredByServiceWorker(bool value) { m_wasFallbackRequir
edByServiceWorker = value; } | 251 void setWasFallbackRequiredByServiceWorker(bool value) { m_wasFallbackRequir
edByServiceWorker = value; } |
255 | 252 |
256 WebServiceWorkerResponseType serviceWorkerResponseType() const { return m_se
rviceWorkerResponseType; } | 253 WebServiceWorkerResponseType serviceWorkerResponseType() const { return m_se
rviceWorkerResponseType; } |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 unsigned short m_remotePort; | 470 unsigned short m_remotePort; |
474 long long m_encodedBodyLength; | 471 long long m_encodedBodyLength; |
475 long long m_decodedBodyLength; | 472 long long m_decodedBodyLength; |
476 String m_downloadedFilePath; | 473 String m_downloadedFilePath; |
477 RefPtr<BlobDataHandle> m_downloadedFileHandle; | 474 RefPtr<BlobDataHandle> m_downloadedFileHandle; |
478 }; | 475 }; |
479 | 476 |
480 } // namespace blink | 477 } // namespace blink |
481 | 478 |
482 #endif // ResourceResponse_h | 479 #endif // ResourceResponse_h |
OLD | NEW |