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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 RedirectStatus redirectStatus() const { return m_redirectStatus; } | 309 RedirectStatus redirectStatus() const { return m_redirectStatus; } |
310 | 310 |
311 void setNavigationStartTime(double); | 311 void setNavigationStartTime(double); |
312 double navigationStartTime() const { return m_navigationStart; } | 312 double navigationStartTime() const { return m_navigationStart; } |
313 | 313 |
314 void setIsSameDocumentNavigation(bool isSameDocument) { | 314 void setIsSameDocumentNavigation(bool isSameDocument) { |
315 m_isSameDocumentNavigation = isSameDocument; | 315 m_isSameDocumentNavigation = isSameDocument; |
316 } | 316 } |
317 bool isSameDocumentNavigation() const { return m_isSameDocumentNavigation; } | 317 bool isSameDocumentNavigation() const { return m_isSameDocumentNavigation; } |
318 | 318 |
| 319 void setIsMojoIPCForced(bool isMojoIPCForced) { |
| 320 m_isMojoIPCForced = isMojoIPCForced; |
| 321 } |
| 322 bool isMojoIPCForced() const { return m_isMojoIPCForced; } |
| 323 |
319 private: | 324 private: |
320 const CacheControlHeader& cacheControlHeader() const; | 325 const CacheControlHeader& cacheControlHeader() const; |
321 | 326 |
322 bool needsHTTPOrigin() const; | 327 bool needsHTTPOrigin() const; |
323 | 328 |
324 KURL m_url; | 329 KURL m_url; |
325 WebCachePolicy m_cachePolicy; | 330 WebCachePolicy m_cachePolicy; |
326 double m_timeoutInterval; // 0 is a magic value for platform default on | 331 double m_timeoutInterval; // 0 is a magic value for platform default on |
327 // platforms that have one. | 332 // platforms that have one. |
328 KURL m_firstPartyForCookies; | 333 KURL m_firstPartyForCookies; |
(...skipping 30 matching lines...) Expand all Loading... |
359 bool m_isSameDocumentNavigation; | 364 bool m_isSameDocumentNavigation; |
360 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 365 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
361 | 366 |
362 mutable CacheControlHeader m_cacheControlHeaderCache; | 367 mutable CacheControlHeader m_cacheControlHeaderCache; |
363 | 368 |
364 static double s_defaultTimeoutInterval; | 369 static double s_defaultTimeoutInterval; |
365 | 370 |
366 RedirectStatus m_redirectStatus; | 371 RedirectStatus m_redirectStatus; |
367 | 372 |
368 double m_navigationStart = 0; | 373 double m_navigationStart = 0; |
| 374 bool m_isMojoIPCForced = false; |
369 }; | 375 }; |
370 | 376 |
371 struct CrossThreadResourceRequestData { | 377 struct CrossThreadResourceRequestData { |
372 WTF_MAKE_NONCOPYABLE(CrossThreadResourceRequestData); | 378 WTF_MAKE_NONCOPYABLE(CrossThreadResourceRequestData); |
373 USING_FAST_MALLOC(CrossThreadResourceRequestData); | 379 USING_FAST_MALLOC(CrossThreadResourceRequestData); |
374 | 380 |
375 public: | 381 public: |
376 CrossThreadResourceRequestData() {} | 382 CrossThreadResourceRequestData() {} |
377 KURL m_url; | 383 KURL m_url; |
378 | 384 |
(...skipping 29 matching lines...) Expand all Loading... |
408 bool m_checkForBrowserSideNavigation; | 414 bool m_checkForBrowserSideNavigation; |
409 double m_uiStartTime; | 415 double m_uiStartTime; |
410 bool m_isExternalRequest; | 416 bool m_isExternalRequest; |
411 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; | 417 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; |
412 ResourceRequest::RedirectStatus m_redirectStatus; | 418 ResourceRequest::RedirectStatus m_redirectStatus; |
413 }; | 419 }; |
414 | 420 |
415 } // namespace blink | 421 } // namespace blink |
416 | 422 |
417 #endif // ResourceRequest_h | 423 #endif // ResourceRequest_h |
OLD | NEW |