OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 199 |
200 // True if the request should not be handled by the ServiceWorker. | 200 // True if the request should not be handled by the ServiceWorker. |
201 bool skipServiceWorker() const { return m_skipServiceWorker; } | 201 bool skipServiceWorker() const { return m_skipServiceWorker; } |
202 void setSkipServiceWorker(bool skipServiceWorker) { m_skipServiceWorker = sk
ipServiceWorker; } | 202 void setSkipServiceWorker(bool skipServiceWorker) { m_skipServiceWorker = sk
ipServiceWorker; } |
203 | 203 |
204 // True if corresponding AppCache group should be resetted. | 204 // True if corresponding AppCache group should be resetted. |
205 bool shouldResetAppCache() { return m_shouldResetAppCache; } | 205 bool shouldResetAppCache() { return m_shouldResetAppCache; } |
206 void setShouldResetAppCache(bool shouldResetAppCache) { m_shouldResetAppCach
e = shouldResetAppCache; } | 206 void setShouldResetAppCache(bool shouldResetAppCache) { m_shouldResetAppCach
e = shouldResetAppCache; } |
207 | 207 |
208 // Extra data associated with this request. | 208 // Extra data associated with this request. |
209 ExtraData* extraData() const { return m_extraData.get(); } | 209 ExtraData* getExtraData() const { return m_extraData.get(); } |
210 void setExtraData(PassRefPtr<ExtraData> extraData) { m_extraData = extraData
; } | 210 void setExtraData(PassRefPtr<ExtraData> extraData) { m_extraData = extraData
; } |
211 | 211 |
212 WebURLRequest::RequestContext requestContext() const { return m_requestConte
xt; } | 212 WebURLRequest::RequestContext requestContext() const { return m_requestConte
xt; } |
213 void setRequestContext(WebURLRequest::RequestContext context) { m_requestCon
text = context; } | 213 void setRequestContext(WebURLRequest::RequestContext context) { m_requestCon
text = context; } |
214 | 214 |
215 WebURLRequest::FrameType frameType() const { return m_frameType; } | 215 WebURLRequest::FrameType frameType() const { return m_frameType; } |
216 void setFrameType(WebURLRequest::FrameType frameType) { m_frameType = frameT
ype; } | 216 void setFrameType(WebURLRequest::FrameType frameType) { m_frameType = frameT
ype; } |
217 | 217 |
218 WebURLRequest::FetchRequestMode fetchRequestMode() const { return m_fetchReq
uestMode; } | 218 WebURLRequest::FetchRequestMode fetchRequestMode() const { return m_fetchReq
uestMode; } |
219 void setFetchRequestMode(WebURLRequest::FetchRequestMode mode) { m_fetchRequ
estMode = mode; } | 219 void setFetchRequestMode(WebURLRequest::FetchRequestMode mode) { m_fetchRequ
estMode = mode; } |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 bool m_checkForBrowserSideNavigation; | 338 bool m_checkForBrowserSideNavigation; |
339 double m_uiStartTime; | 339 double m_uiStartTime; |
340 bool m_isExternalRequest; | 340 bool m_isExternalRequest; |
341 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 341 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
342 bool m_followedRedirect; | 342 bool m_followedRedirect; |
343 }; | 343 }; |
344 | 344 |
345 } // namespace blink | 345 } // namespace blink |
346 | 346 |
347 #endif // ResourceRequest_h | 347 #endif // ResourceRequest_h |
OLD | NEW |