| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 BLINK_PLATFORM_EXPORT Priority getPriority() const; | 290 BLINK_PLATFORM_EXPORT Priority getPriority() const; |
| 291 BLINK_PLATFORM_EXPORT void setPriority(Priority); | 291 BLINK_PLATFORM_EXPORT void setPriority(Priority); |
| 292 | 292 |
| 293 // PlzNavigate: whether the FrameLoader should try to send the request to | 293 // PlzNavigate: whether the FrameLoader should try to send the request to |
| 294 // the browser (if browser-side navigations are enabled). | 294 // the browser (if browser-side navigations are enabled). |
| 295 // Note: WebURLRequests created by RenderFrameImpl::OnCommitNavigation must | 295 // Note: WebURLRequests created by RenderFrameImpl::OnCommitNavigation must |
| 296 // not be sent to the browser. | 296 // not be sent to the browser. |
| 297 BLINK_PLATFORM_EXPORT bool checkForBrowserSideNavigation() const; | 297 BLINK_PLATFORM_EXPORT bool checkForBrowserSideNavigation() const; |
| 298 BLINK_PLATFORM_EXPORT void setCheckForBrowserSideNavigation(bool); | 298 BLINK_PLATFORM_EXPORT void setCheckForBrowserSideNavigation(bool); |
| 299 | 299 |
| 300 // PlzNavigate: whether the loader should bypass executing the BeforeUnload |
| 301 // event when loading this request. This is set to true when committing |
| 302 // urls that have already made a network request, as the BeforeUnload event |
| 303 // has already run before the network request was made. |
| 304 BLINK_PLATFORM_EXPORT void setBypassBeforeUnload(bool); |
| 305 |
| 300 // This is used to report navigation metrics starting from the UI action | 306 // This is used to report navigation metrics starting from the UI action |
| 301 // that triggered the navigation (which can be different from the navigation | 307 // that triggered the navigation (which can be different from the navigation |
| 302 // start time used in the Navigation Timing API). | 308 // start time used in the Navigation Timing API). |
| 303 BLINK_PLATFORM_EXPORT double uiStartTime() const; | 309 BLINK_PLATFORM_EXPORT double uiStartTime() const; |
| 304 BLINK_PLATFORM_EXPORT void setUiStartTime(double); | 310 BLINK_PLATFORM_EXPORT void setUiStartTime(double); |
| 305 BLINK_PLATFORM_EXPORT WebURLRequest::InputToLoadPerfMetricReportPolicy input
PerfMetricReportPolicy() const; | 311 BLINK_PLATFORM_EXPORT WebURLRequest::InputToLoadPerfMetricReportPolicy input
PerfMetricReportPolicy() const; |
| 306 BLINK_PLATFORM_EXPORT void setInputPerfMetricReportPolicy(WebURLRequest::Inp
utToLoadPerfMetricReportPolicy); | 312 BLINK_PLATFORM_EXPORT void setInputPerfMetricReportPolicy(WebURLRequest::Inp
utToLoadPerfMetricReportPolicy); |
| 307 | 313 |
| 308 // https://mikewest.github.io/cors-rfc1918/#external-request | 314 // https://mikewest.github.io/cors-rfc1918/#external-request |
| 309 BLINK_PLATFORM_EXPORT bool isExternalRequest() const; | 315 BLINK_PLATFORM_EXPORT bool isExternalRequest() const; |
| 310 | 316 |
| 311 #if INSIDE_BLINK | 317 #if INSIDE_BLINK |
| 312 BLINK_PLATFORM_EXPORT ResourceRequest& toMutableResourceRequest(); | 318 BLINK_PLATFORM_EXPORT ResourceRequest& toMutableResourceRequest(); |
| 313 BLINK_PLATFORM_EXPORT const ResourceRequest& toResourceRequest() const; | 319 BLINK_PLATFORM_EXPORT const ResourceRequest& toResourceRequest() const; |
| 314 #endif | 320 #endif |
| 315 | 321 |
| 316 protected: | 322 protected: |
| 317 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 323 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
| 318 | 324 |
| 319 private: | 325 private: |
| 320 WebURLRequestPrivate* m_private; | 326 WebURLRequestPrivate* m_private; |
| 321 }; | 327 }; |
| 322 | 328 |
| 323 } // namespace blink | 329 } // namespace blink |
| 324 | 330 |
| 325 #endif | 331 #endif |
| OLD | NEW |