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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 BLINK_PLATFORM_EXPORT Priority priority() const; | 291 BLINK_PLATFORM_EXPORT Priority priority() const; |
292 BLINK_PLATFORM_EXPORT void setPriority(Priority); | 292 BLINK_PLATFORM_EXPORT void setPriority(Priority); |
293 | 293 |
294 // PlzNavigate: whether the FrameLoader should try to send the request to | 294 // PlzNavigate: whether the FrameLoader should try to send the request to |
295 // the browser (if browser-side navigations are enabled). | 295 // the browser (if browser-side navigations are enabled). |
296 // Note: WebURLRequests created by RenderFrameImpl::OnCommitNavigation must | 296 // Note: WebURLRequests created by RenderFrameImpl::OnCommitNavigation must |
297 // not be sent to the browser. | 297 // not be sent to the browser. |
298 BLINK_PLATFORM_EXPORT bool checkForBrowserSideNavigation() const; | 298 BLINK_PLATFORM_EXPORT bool checkForBrowserSideNavigation() const; |
299 BLINK_PLATFORM_EXPORT void setCheckForBrowserSideNavigation(bool); | 299 BLINK_PLATFORM_EXPORT void setCheckForBrowserSideNavigation(bool); |
300 | 300 |
| 301 // This is used to record the the navigation start time defined by the |
| 302 // WebNavigation API if the navigation was initiated in the browser process. |
| 303 BLINK_PLATFORM_EXPORT double browserNavigationStartTime() const; |
| 304 BLINK_PLATFORM_EXPORT void setBrowserNavigationStartTime(double); |
| 305 |
301 // 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 |
302 // that triggered the navigation (which can be different from the navigation | 307 // that triggered the navigation (which can be different from the navigation |
303 // start time used in the Navigation Timing API). | 308 // start time used in the Navigation Timing API). |
304 BLINK_PLATFORM_EXPORT double uiStartTime() const; | 309 BLINK_PLATFORM_EXPORT double uiStartTime() const; |
305 BLINK_PLATFORM_EXPORT void setUiStartTime(double); | 310 BLINK_PLATFORM_EXPORT void setUiStartTime(double); |
306 BLINK_PLATFORM_EXPORT WebURLRequest::InputToLoadPerfMetricReportPolicy input
PerfMetricReportPolicy() const; | 311 BLINK_PLATFORM_EXPORT WebURLRequest::InputToLoadPerfMetricReportPolicy input
PerfMetricReportPolicy() const; |
307 BLINK_PLATFORM_EXPORT void setInputPerfMetricReportPolicy(WebURLRequest::Inp
utToLoadPerfMetricReportPolicy); | 312 BLINK_PLATFORM_EXPORT void setInputPerfMetricReportPolicy(WebURLRequest::Inp
utToLoadPerfMetricReportPolicy); |
308 | 313 |
309 // Does the request originate from a SecurityContext hosted in a reserved | 314 // Does the request originate from a SecurityContext hosted in a reserved |
310 // (RFC1918) IP range? | 315 // (RFC1918) IP range? |
311 BLINK_PLATFORM_EXPORT bool originatesFromReservedIPRange() const; | 316 BLINK_PLATFORM_EXPORT bool originatesFromReservedIPRange() const; |
312 BLINK_PLATFORM_EXPORT void setOriginatesFromReservedIPRange(bool); | 317 BLINK_PLATFORM_EXPORT void setOriginatesFromReservedIPRange(bool); |
313 | 318 |
314 #if INSIDE_BLINK | 319 #if INSIDE_BLINK |
315 BLINK_PLATFORM_EXPORT ResourceRequest& toMutableResourceRequest(); | 320 BLINK_PLATFORM_EXPORT ResourceRequest& toMutableResourceRequest(); |
316 BLINK_PLATFORM_EXPORT const ResourceRequest& toResourceRequest() const; | 321 BLINK_PLATFORM_EXPORT const ResourceRequest& toResourceRequest() const; |
317 #endif | 322 #endif |
318 | 323 |
319 protected: | 324 protected: |
320 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 325 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
321 | 326 |
322 private: | 327 private: |
323 WebURLRequestPrivate* m_private; | 328 WebURLRequestPrivate* m_private; |
324 }; | 329 }; |
325 | 330 |
326 } // namespace blink | 331 } // namespace blink |
327 | 332 |
328 #endif | 333 #endif |
OLD | NEW |