OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2010, 2011, 2012 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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "AssociatedURLLoader.h" | 32 #include "AssociatedURLLoader.h" |
33 | 33 |
34 #include "CrossOriginAccessControl.h" | 34 #include "CrossOriginAccessControl.h" |
35 #include "DocumentThreadableLoader.h" | 35 #include "DocumentThreadableLoader.h" |
36 #include "DocumentThreadableLoaderClient.h" | 36 #include "DocumentThreadableLoaderClient.h" |
37 #include "ResourceLoader.h" | 37 #include "ResourceLoader.h" |
38 #include "Timer.h" | |
39 #include "WebApplicationCacheHost.h" | 38 #include "WebApplicationCacheHost.h" |
40 #include "WebDataSource.h" | 39 #include "WebDataSource.h" |
41 #include "WebFrameImpl.h" | 40 #include "WebFrameImpl.h" |
42 #include "XMLHttpRequest.h" | 41 #include "XMLHttpRequest.h" |
| 42 #include "core/platform/Timer.h" |
43 #include "core/platform/chromium/support/WrappedResourceRequest.h" | 43 #include "core/platform/chromium/support/WrappedResourceRequest.h" |
44 #include "core/platform/chromium/support/WrappedResourceResponse.h" | 44 #include "core/platform/chromium/support/WrappedResourceResponse.h" |
45 #include "core/platform/network/HTTPParsers.h" | 45 #include "core/platform/network/HTTPParsers.h" |
46 #include "core/platform/network/ResourceError.h" | 46 #include "core/platform/network/ResourceError.h" |
47 #include <public/WebHTTPHeaderVisitor.h> | 47 #include <public/WebHTTPHeaderVisitor.h> |
48 #include <public/WebString.h> | 48 #include <public/WebString.h> |
49 #include <public/WebURLError.h> | 49 #include <public/WebURLError.h> |
50 #include <public/WebURLLoaderClient.h> | 50 #include <public/WebURLLoaderClient.h> |
51 #include <public/WebURLRequest.h> | 51 #include <public/WebURLRequest.h> |
52 #include <wtf/HashSet.h> | 52 #include <wtf/HashSet.h> |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 m_loader->cancel(); | 365 m_loader->cancel(); |
366 } | 366 } |
367 | 367 |
368 void AssociatedURLLoader::setDefersLoading(bool defersLoading) | 368 void AssociatedURLLoader::setDefersLoading(bool defersLoading) |
369 { | 369 { |
370 if (m_loader) | 370 if (m_loader) |
371 m_loader->setDefersLoading(defersLoading); | 371 m_loader->setDefersLoading(defersLoading); |
372 } | 372 } |
373 | 373 |
374 } // namespace WebKit | 374 } // namespace WebKit |
OLD | NEW |