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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 m_fetchCredentialsMode = mode; | 264 m_fetchCredentialsMode = mode; |
265 } | 265 } |
266 | 266 |
267 WebURLRequest::FetchRedirectMode fetchRedirectMode() const { | 267 WebURLRequest::FetchRedirectMode fetchRedirectMode() const { |
268 return m_fetchRedirectMode; | 268 return m_fetchRedirectMode; |
269 } | 269 } |
270 void setFetchRedirectMode(WebURLRequest::FetchRedirectMode redirect) { | 270 void setFetchRedirectMode(WebURLRequest::FetchRedirectMode redirect) { |
271 m_fetchRedirectMode = redirect; | 271 m_fetchRedirectMode = redirect; |
272 } | 272 } |
273 | 273 |
274 WebURLRequest::LoFiState loFiState() const { return m_loFiState; } | 274 int previewsState() const { return m_previewsState; } |
275 void setLoFiState(WebURLRequest::LoFiState loFiState) { | 275 void setPreviewsState(int previewsState) { m_previewsState = previewsState; } |
276 m_loFiState = loFiState; | |
277 } | |
278 | 276 |
279 bool cacheControlContainsNoCache() const; | 277 bool cacheControlContainsNoCache() const; |
280 bool cacheControlContainsNoStore() const; | 278 bool cacheControlContainsNoStore() const; |
281 bool hasCacheValidatorFields() const; | 279 bool hasCacheValidatorFields() const; |
282 | 280 |
283 bool checkForBrowserSideNavigation() const { | 281 bool checkForBrowserSideNavigation() const { |
284 return m_checkForBrowserSideNavigation; | 282 return m_checkForBrowserSideNavigation; |
285 } | 283 } |
286 void setCheckForBrowserSideNavigation(bool check) { | 284 void setCheckForBrowserSideNavigation(bool check) { |
287 m_checkForBrowserSideNavigation = check; | 285 m_checkForBrowserSideNavigation = check; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 int m_intraPriorityValue; | 337 int m_intraPriorityValue; |
340 int m_requestorID; | 338 int m_requestorID; |
341 int m_requestorProcessID; | 339 int m_requestorProcessID; |
342 int m_appCacheHostID; | 340 int m_appCacheHostID; |
343 RefPtr<ExtraData> m_extraData; | 341 RefPtr<ExtraData> m_extraData; |
344 WebURLRequest::RequestContext m_requestContext; | 342 WebURLRequest::RequestContext m_requestContext; |
345 WebURLRequest::FrameType m_frameType; | 343 WebURLRequest::FrameType m_frameType; |
346 WebURLRequest::FetchRequestMode m_fetchRequestMode; | 344 WebURLRequest::FetchRequestMode m_fetchRequestMode; |
347 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; | 345 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; |
348 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; | 346 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; |
349 WebURLRequest::LoFiState m_loFiState; | 347 int m_previewsState; |
350 ReferrerPolicy m_referrerPolicy; | 348 ReferrerPolicy m_referrerPolicy; |
351 bool m_didSetHTTPReferrer; | 349 bool m_didSetHTTPReferrer; |
352 bool m_checkForBrowserSideNavigation; | 350 bool m_checkForBrowserSideNavigation; |
353 double m_uiStartTime; | 351 double m_uiStartTime; |
354 bool m_isExternalRequest; | 352 bool m_isExternalRequest; |
355 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 353 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
356 | 354 |
357 mutable CacheControlHeader m_cacheControlHeaderCache; | 355 mutable CacheControlHeader m_cacheControlHeaderCache; |
358 | 356 |
359 static double s_defaultTimeoutInterval; | 357 static double s_defaultTimeoutInterval; |
(...skipping 30 matching lines...) Expand all Loading... |
390 ResourceLoadPriority m_priority; | 388 ResourceLoadPriority m_priority; |
391 int m_intraPriorityValue; | 389 int m_intraPriorityValue; |
392 int m_requestorID; | 390 int m_requestorID; |
393 int m_requestorProcessID; | 391 int m_requestorProcessID; |
394 int m_appCacheHostID; | 392 int m_appCacheHostID; |
395 WebURLRequest::RequestContext m_requestContext; | 393 WebURLRequest::RequestContext m_requestContext; |
396 WebURLRequest::FrameType m_frameType; | 394 WebURLRequest::FrameType m_frameType; |
397 WebURLRequest::FetchRequestMode m_fetchRequestMode; | 395 WebURLRequest::FetchRequestMode m_fetchRequestMode; |
398 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; | 396 WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode; |
399 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; | 397 WebURLRequest::FetchRedirectMode m_fetchRedirectMode; |
400 WebURLRequest::LoFiState m_loFiState; | 398 int m_previewsState; |
401 ReferrerPolicy m_referrerPolicy; | 399 ReferrerPolicy m_referrerPolicy; |
402 bool m_didSetHTTPReferrer; | 400 bool m_didSetHTTPReferrer; |
403 bool m_checkForBrowserSideNavigation; | 401 bool m_checkForBrowserSideNavigation; |
404 double m_uiStartTime; | 402 double m_uiStartTime; |
405 bool m_isExternalRequest; | 403 bool m_isExternalRequest; |
406 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 404 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
407 ResourceRequest::RedirectStatus m_redirectStatus; | 405 ResourceRequest::RedirectStatus m_redirectStatus; |
408 }; | 406 }; |
409 | 407 |
410 } // namespace blink | 408 } // namespace blink |
411 | 409 |
412 #endif // ResourceRequest_h | 410 #endif // ResourceRequest_h |
OLD | NEW |