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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 // The LoFi state which determines whether to request a Lo-Fi version of the
resource. | 280 // The LoFi state which determines whether to request a Lo-Fi version of the
resource. |
281 BLINK_PLATFORM_EXPORT LoFiState getLoFiState() const; | 281 BLINK_PLATFORM_EXPORT LoFiState getLoFiState() const; |
282 BLINK_PLATFORM_EXPORT void setLoFiState(LoFiState); | 282 BLINK_PLATFORM_EXPORT void setLoFiState(LoFiState); |
283 | 283 |
284 // Extra data associated with the underlying resource request. Resource | 284 // Extra data associated with the underlying resource request. Resource |
285 // requests can be copied. If non-null, each copy of a resource requests | 285 // requests can be copied. If non-null, each copy of a resource requests |
286 // holds a pointer to the extra data, and the extra data pointer will be | 286 // holds a pointer to the extra data, and the extra data pointer will be |
287 // deleted when the last resource request is destroyed. Setting the extra | 287 // deleted when the last resource request is destroyed. Setting the extra |
288 // data pointer will cause the underlying resource request to be | 288 // data pointer will cause the underlying resource request to be |
289 // dissociated from any existing non-null extra data pointer. | 289 // dissociated from any existing non-null extra data pointer. |
290 BLINK_PLATFORM_EXPORT ExtraData* extraData() const; | 290 BLINK_PLATFORM_EXPORT ExtraData* getExtraData() const; |
291 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); | 291 BLINK_PLATFORM_EXPORT void setExtraData(ExtraData*); |
292 | 292 |
293 BLINK_PLATFORM_EXPORT Priority getPriority() const; | 293 BLINK_PLATFORM_EXPORT Priority getPriority() const; |
294 BLINK_PLATFORM_EXPORT void setPriority(Priority); | 294 BLINK_PLATFORM_EXPORT void setPriority(Priority); |
295 | 295 |
296 // PlzNavigate: whether the FrameLoader should try to send the request to | 296 // PlzNavigate: whether the FrameLoader should try to send the request to |
297 // the browser (if browser-side navigations are enabled). | 297 // the browser (if browser-side navigations are enabled). |
298 // Note: WebURLRequests created by RenderFrameImpl::OnCommitNavigation must | 298 // Note: WebURLRequests created by RenderFrameImpl::OnCommitNavigation must |
299 // not be sent to the browser. | 299 // not be sent to the browser. |
300 BLINK_PLATFORM_EXPORT bool checkForBrowserSideNavigation() const; | 300 BLINK_PLATFORM_EXPORT bool checkForBrowserSideNavigation() const; |
(...skipping 18 matching lines...) Expand all Loading... |
319 protected: | 319 protected: |
320 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 320 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
321 | 321 |
322 private: | 322 private: |
323 WebURLRequestPrivate* m_private; | 323 WebURLRequestPrivate* m_private; |
324 }; | 324 }; |
325 | 325 |
326 } // namespace blink | 326 } // namespace blink |
327 | 327 |
328 #endif | 328 #endif |
OLD | NEW |