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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 TargetIsMedia = 8, | 78 TargetIsMedia = 8, |
79 TargetIsWorker = 9, | 79 TargetIsWorker = 9, |
80 TargetIsSharedWorker = 10, | 80 TargetIsSharedWorker = 10, |
81 TargetIsPrefetch = 11, | 81 TargetIsPrefetch = 11, |
82 TargetIsFavicon = 12, | 82 TargetIsFavicon = 12, |
83 TargetIsXHR = 13, | 83 TargetIsXHR = 13, |
84 TargetIsTextTrack = 14, | 84 TargetIsTextTrack = 14, |
85 TargetIsPing = 15, | 85 TargetIsPing = 15, |
86 TargetIsServiceWorker = 16, | 86 TargetIsServiceWorker = 16, |
87 TargetIsUnspecified = 17, | 87 TargetIsUnspecified = 17, |
| 88 // FIXME: add for real. |
| 89 TargetIsBeacon = TargetIsPing |
88 }; | 90 }; |
89 | 91 |
90 class ExtraData { | 92 class ExtraData { |
91 public: | 93 public: |
92 virtual ~ExtraData() { } | 94 virtual ~ExtraData() { } |
93 }; | 95 }; |
94 | 96 |
95 ~WebURLRequest() { reset(); } | 97 ~WebURLRequest() { reset(); } |
96 | 98 |
97 WebURLRequest() : m_private(0) { } | 99 WebURLRequest() : m_private(0) { } |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 protected: | 206 protected: |
205 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); | 207 BLINK_PLATFORM_EXPORT void assign(WebURLRequestPrivate*); |
206 | 208 |
207 private: | 209 private: |
208 WebURLRequestPrivate* m_private; | 210 WebURLRequestPrivate* m_private; |
209 }; | 211 }; |
210 | 212 |
211 } // namespace blink | 213 } // namespace blink |
212 | 214 |
213 #endif | 215 #endif |
OLD | NEW |