OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 TargetIsMedia, | 62 TargetIsMedia, |
63 TargetIsWorker, | 63 TargetIsWorker, |
64 TargetIsSharedWorker, | 64 TargetIsSharedWorker, |
65 TargetIsPrefetch, | 65 TargetIsPrefetch, |
66 TargetIsFavicon, | 66 TargetIsFavicon, |
67 TargetIsXHR, | 67 TargetIsXHR, |
68 TargetIsTextTrack, | 68 TargetIsTextTrack, |
69 TargetIsPing, | 69 TargetIsPing, |
70 TargetIsServiceWorker, | 70 TargetIsServiceWorker, |
71 TargetIsUnspecified, | 71 TargetIsUnspecified, |
| 72 // FIXME: add properly (needs content / chromium side changes.) |
| 73 TargetIsBeacon = TargetIsPing |
72 }; | 74 }; |
73 | 75 |
74 class ExtraData : public RefCounted<ExtraData> { | 76 class ExtraData : public RefCounted<ExtraData> { |
75 public: | 77 public: |
76 virtual ~ExtraData() { } | 78 virtual ~ExtraData() { } |
77 }; | 79 }; |
78 | 80 |
79 ResourceRequest() | 81 ResourceRequest() |
80 { | 82 { |
81 initialize(KURL(), UseProtocolCachePolicy); | 83 initialize(KURL(), UseProtocolCachePolicy); |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 int m_appCacheHostID; | 273 int m_appCacheHostID; |
272 ResourceRequest::TargetType m_targetType; | 274 ResourceRequest::TargetType m_targetType; |
273 ReferrerPolicy m_referrerPolicy; | 275 ReferrerPolicy m_referrerPolicy; |
274 }; | 276 }; |
275 | 277 |
276 unsigned initializeMaximumHTTPConnectionCountPerHost(); | 278 unsigned initializeMaximumHTTPConnectionCountPerHost(); |
277 | 279 |
278 } // namespace WebCore | 280 } // namespace WebCore |
279 | 281 |
280 #endif // ResourceRequest_h | 282 #endif // ResourceRequest_h |
OLD | NEW |