| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 BLINK_PLATFORM_EXPORT void setCheckForBrowserSideNavigation(bool); | 300 BLINK_PLATFORM_EXPORT void setCheckForBrowserSideNavigation(bool); |
| 301 | 301 |
| 302 // This is used to report navigation metrics starting from the UI action | 302 // This is used to report navigation metrics starting from the UI action |
| 303 // that triggered the navigation (which can be different from the navigation | 303 // that triggered the navigation (which can be different from the navigation |
| 304 // start time used in the Navigation Timing API). | 304 // start time used in the Navigation Timing API). |
| 305 BLINK_PLATFORM_EXPORT double uiStartTime() const; | 305 BLINK_PLATFORM_EXPORT double uiStartTime() const; |
| 306 BLINK_PLATFORM_EXPORT void setUiStartTime(double); | 306 BLINK_PLATFORM_EXPORT void setUiStartTime(double); |
| 307 BLINK_PLATFORM_EXPORT WebURLRequest::InputToLoadPerfMetricReportPolicy input
PerfMetricReportPolicy() const; | 307 BLINK_PLATFORM_EXPORT WebURLRequest::InputToLoadPerfMetricReportPolicy input
PerfMetricReportPolicy() const; |
| 308 BLINK_PLATFORM_EXPORT void setInputPerfMetricReportPolicy(WebURLRequest::Inp
utToLoadPerfMetricReportPolicy); | 308 BLINK_PLATFORM_EXPORT void setInputPerfMetricReportPolicy(WebURLRequest::Inp
utToLoadPerfMetricReportPolicy); |
| 309 | 309 |
| 310 // Does the request originate from a SecurityContext hosted in a reserved | 310 // https://mikewest.github.io/cors-rfc1918/#external-request |
| 311 // (RFC1918) IP range? | 311 BLINK_PLATFORM_EXPORT bool isExternalRequest() const; |
| 312 BLINK_PLATFORM_EXPORT bool originatesFromReservedIPRange() const; | |
| 313 BLINK_PLATFORM_EXPORT void setOriginatesFromReservedIPRange(bool); | |
| 314 | 312 |
| 315 #if INSIDE_BLINK | 313 #if INSIDE_BLINK |
| 316 BLINK_PLATFORM_EXPORT ResourceRequest& toMutableResourceRequest(); | 314 BLINK_PLATFORM_EXPORT ResourceRequest& toMutableResourceRequest(); |
| 317 BLINK_PLATFORM_EXPORT const ResourceRequest& toResourceRequest() const; | 315 BLINK_PLATFORM_EXPORT const ResourceRequest& toResourceRequest() const; |
| 318 #endif | 316 #endif |
| 319 | 317 |
| 320 protected: | 318 protected: |
| 321 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 319 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
| 322 | 320 |
| 323 private: | 321 private: |
| 324 WebURLRequestPrivate* m_private; | 322 WebURLRequestPrivate* m_private; |
| 325 }; | 323 }; |
| 326 | 324 |
| 327 } // namespace blink | 325 } // namespace blink |
| 328 | 326 |
| 329 #endif | 327 #endif |
| OLD | NEW |