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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 PriorityVeryLow, | 63 PriorityVeryLow, |
64 PriorityLow, | 64 PriorityLow, |
65 PriorityMedium, | 65 PriorityMedium, |
66 PriorityHigh, | 66 PriorityHigh, |
67 PriorityVeryHigh, | 67 PriorityVeryHigh, |
68 }; | 68 }; |
69 | 69 |
70 // Corresponds to Fetch's "context": http://fetch.spec.whatwg.org/#concept-r
equest-context | 70 // Corresponds to Fetch's "context": http://fetch.spec.whatwg.org/#concept-r
equest-context |
71 enum RequestContext { | 71 enum RequestContext { |
72 RequestContextUnspecified = 0, | 72 RequestContextUnspecified = 0, |
73 RequestContextInternal, // FIXME: This isn't part of Fetch. It should be
. | |
74 RequestContextAudio, | 73 RequestContextAudio, |
75 RequestContextBeacon, | 74 RequestContextBeacon, |
76 RequestContextCSPReport, | 75 RequestContextCSPReport, |
77 RequestContextDownload, | 76 RequestContextDownload, |
78 RequestContextEmbed, | 77 RequestContextEmbed, |
79 RequestContextEventSource, | 78 RequestContextEventSource, |
80 RequestContextFavicon, | 79 RequestContextFavicon, |
81 RequestContextFetch, | 80 RequestContextFetch, |
82 RequestContextFont, | 81 RequestContextFont, |
83 RequestContextForm, | 82 RequestContextForm, |
84 RequestContextFrame, | 83 RequestContextFrame, |
85 RequestContextHyperlink, | 84 RequestContextHyperlink, |
86 RequestContextIframe, | 85 RequestContextIframe, |
87 RequestContextImage, | 86 RequestContextImage, |
| 87 RequestContextImageSet, |
| 88 RequestContextImport, |
| 89 RequestContextInternal, |
88 RequestContextLocation, | 90 RequestContextLocation, |
89 RequestContextManifest, | 91 RequestContextManifest, |
90 RequestContextObject, | 92 RequestContextObject, |
91 RequestContextPing, | 93 RequestContextPing, |
92 RequestContextPlugin, | 94 RequestContextPlugin, |
93 RequestContextPrefetch, | 95 RequestContextPrefetch, |
94 RequestContextScript, | 96 RequestContextScript, |
95 RequestContextServiceWorker, | 97 RequestContextServiceWorker, |
96 RequestContextSharedWorker, | 98 RequestContextSharedWorker, |
97 RequestContextSubresource, | 99 RequestContextSubresource, |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 protected: | 234 protected: |
233 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 235 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
234 | 236 |
235 private: | 237 private: |
236 WebURLRequestPrivate* m_private; | 238 WebURLRequestPrivate* m_private; |
237 }; | 239 }; |
238 | 240 |
239 } // namespace blink | 241 } // namespace blink |
240 | 242 |
241 #endif | 243 #endif |
OLD | NEW |