Chromium Code Reviews| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 104 | 104 |
| 105 // Corresponds to Fetch's "context frame type": http://fetch.spec.whatwg.org /#concept-request-context-frame-type | 105 // Corresponds to Fetch's "context frame type": http://fetch.spec.whatwg.org /#concept-request-context-frame-type |
| 106 enum FrameType { | 106 enum FrameType { |
| 107 FrameTypeAuxiliary, | 107 FrameTypeAuxiliary, |
| 108 FrameTypeNested, | 108 FrameTypeNested, |
| 109 FrameTypeNone, | 109 FrameTypeNone, |
| 110 FrameTypeTopLevel | 110 FrameTypeTopLevel |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 enum FetchRequestMode { | 113 enum FetchRequestMode { |
| 114 FetchRequestModeNavigate, | |
|
horo
2015/10/14 10:05:32
Same as FETCH_REQUEST_MODE_NAVIGATE.
enum Fet
shiva.jm
2015/10/14 10:59:06
Done.
| |
| 114 FetchRequestModeSameOrigin, | 115 FetchRequestModeSameOrigin, |
| 115 FetchRequestModeNoCORS, | 116 FetchRequestModeNoCORS, |
| 116 FetchRequestModeCORS, | 117 FetchRequestModeCORS, |
| 117 FetchRequestModeCORSWithForcedPreflight | 118 FetchRequestModeCORSWithForcedPreflight |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 enum FetchCredentialsMode { | 121 enum FetchCredentialsMode { |
| 121 FetchCredentialsModeOmit, | 122 FetchCredentialsModeOmit, |
| 122 FetchCredentialsModeSameOrigin, | 123 FetchCredentialsModeSameOrigin, |
| 123 FetchCredentialsModeInclude | 124 FetchCredentialsModeInclude |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 308 protected: | 309 protected: |
| 309 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 310 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
| 310 | 311 |
| 311 private: | 312 private: |
| 312 WebURLRequestPrivate* m_private; | 313 WebURLRequestPrivate* m_private; |
| 313 }; | 314 }; |
| 314 | 315 |
| 315 } // namespace blink | 316 } // namespace blink |
| 316 | 317 |
| 317 #endif | 318 #endif |
| OLD | NEW |