OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2006, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2011 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 static void forceContentSniffing(); | 153 static void forceContentSniffing(); |
154 | 154 |
155 #if USE(WININET) | 155 #if USE(WININET) |
156 void setSynchronousInternetHandle(HINTERNET); | 156 void setSynchronousInternetHandle(HINTERNET); |
157 void fileLoadTimer(Timer<ResourceHandle>*); | 157 void fileLoadTimer(Timer<ResourceHandle>*); |
158 void onRedirect(); | 158 void onRedirect(); |
159 bool onRequestComplete(); | 159 bool onRequestComplete(); |
160 static void CALLBACK internetStatusCallback(HINTERNET, DWORD_PTR, DWORD, LPV
OID, DWORD); | 160 static void CALLBACK internetStatusCallback(HINTERNET, DWORD_PTR, DWORD, LPV
OID, DWORD); |
161 #endif | 161 #endif |
162 | 162 |
163 #if PLATFORM(QT) || USE(CURL) || USE(SOUP) || PLATFORM(BLACKBERRY) | 163 #if USE(CURL) || USE(SOUP) |
164 ResourceHandleInternal* getInternal() { return d.get(); } | 164 ResourceHandleInternal* getInternal() { return d.get(); } |
165 #endif | 165 #endif |
166 | 166 |
167 #if USE(SOUP) | 167 #if USE(SOUP) |
168 void continueDidReceiveAuthenticationChallenge(const Credential& credentialF
romPersistentStorage); | 168 void continueDidReceiveAuthenticationChallenge(const Credential& credentialF
romPersistentStorage); |
169 void sendPendingRequest(); | 169 void sendPendingRequest(); |
170 bool shouldUseCredentialStorage(); | 170 bool shouldUseCredentialStorage(); |
171 bool cancelledOrClientless(); | 171 bool cancelledOrClientless(); |
172 static SoupSession* defaultSession(); | 172 static SoupSession* defaultSession(); |
173 static uint64_t getSoupRequestInitiatingPageID(SoupRequest*); | 173 static uint64_t getSoupRequestInitiatingPageID(SoupRequest*); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 void createCFURLConnection(bool shouldUseCredentialStorage, bool shouldConte
ntSniff); | 258 void createCFURLConnection(bool shouldUseCredentialStorage, bool shouldConte
ntSniff); |
259 #endif | 259 #endif |
260 | 260 |
261 friend class ResourceHandleInternal; | 261 friend class ResourceHandleInternal; |
262 OwnPtr<ResourceHandleInternal> d; | 262 OwnPtr<ResourceHandleInternal> d; |
263 }; | 263 }; |
264 | 264 |
265 } | 265 } |
266 | 266 |
267 #endif // ResourceHandle_h | 267 #endif // ResourceHandle_h |
OLD | NEW |