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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 // collected and reported. | 225 // collected and reported. |
226 BLINK_PLATFORM_EXPORT bool reportRawHeaders() const; | 226 BLINK_PLATFORM_EXPORT bool reportRawHeaders() const; |
227 BLINK_PLATFORM_EXPORT void setReportRawHeaders(bool); | 227 BLINK_PLATFORM_EXPORT void setReportRawHeaders(bool); |
228 | 228 |
229 BLINK_PLATFORM_EXPORT RequestContext getRequestContext() const; | 229 BLINK_PLATFORM_EXPORT RequestContext getRequestContext() const; |
230 BLINK_PLATFORM_EXPORT void setRequestContext(RequestContext); | 230 BLINK_PLATFORM_EXPORT void setRequestContext(RequestContext); |
231 | 231 |
232 BLINK_PLATFORM_EXPORT FrameType getFrameType() const; | 232 BLINK_PLATFORM_EXPORT FrameType getFrameType() const; |
233 BLINK_PLATFORM_EXPORT void setFrameType(FrameType); | 233 BLINK_PLATFORM_EXPORT void setFrameType(FrameType); |
234 | 234 |
235 BLINK_PLATFORM_EXPORT WebReferrerPolicy referrerPolicy() const; | 235 BLINK_PLATFORM_EXPORT WebReferrerPolicy getReferrerPolicy() const; |
236 | 236 |
237 // Adds an HTTP origin header if it is empty and the HTTP method of the | 237 // Adds an HTTP origin header if it is empty and the HTTP method of the |
238 // request requires it. | 238 // request requires it. |
239 BLINK_PLATFORM_EXPORT void addHTTPOriginIfNeeded(const WebSecurityOrigin&); | 239 BLINK_PLATFORM_EXPORT void addHTTPOriginIfNeeded(const WebSecurityOrigin&); |
240 | 240 |
241 // True if the request was user initiated. | 241 // True if the request was user initiated. |
242 BLINK_PLATFORM_EXPORT bool hasUserGesture() const; | 242 BLINK_PLATFORM_EXPORT bool hasUserGesture() const; |
243 BLINK_PLATFORM_EXPORT void setHasUserGesture(bool); | 243 BLINK_PLATFORM_EXPORT void setHasUserGesture(bool); |
244 | 244 |
245 // A consumer controlled value intended to be used to identify the | 245 // A consumer controlled value intended to be used to identify the |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 // instance it contains. | 344 // instance it contains. |
345 std::unique_ptr<ResourceRequestContainer> m_ownedResourceRequest; | 345 std::unique_ptr<ResourceRequestContainer> m_ownedResourceRequest; |
346 | 346 |
347 // Should never be null. | 347 // Should never be null. |
348 ResourceRequest* m_resourceRequest; | 348 ResourceRequest* m_resourceRequest; |
349 }; | 349 }; |
350 | 350 |
351 } // namespace blink | 351 } // namespace blink |
352 | 352 |
353 #endif | 353 #endif |
OLD | NEW |