OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) | 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) |
4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) | 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) |
5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. | 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
rights reserved. |
6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ | 6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ |
7 | 7 |
8 This library is free software; you can redistribute it and/or | 8 This library is free software; you can redistribute it and/or |
9 modify it under the terms of the GNU Library General Public | 9 modify it under the terms of the GNU Library General Public |
10 License as published by the Free Software Foundation; either | 10 License as published by the Free Software Foundation; either |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "core/loader/cache/CachedCSSStyleSheet.h" | 44 #include "core/loader/cache/CachedCSSStyleSheet.h" |
45 #include "core/loader/cache/CachedFont.h" | 45 #include "core/loader/cache/CachedFont.h" |
46 #include "core/loader/cache/CachedImage.h" | 46 #include "core/loader/cache/CachedImage.h" |
47 #include "core/loader/cache/CachedRawResource.h" | 47 #include "core/loader/cache/CachedRawResource.h" |
48 #include "core/loader/cache/CachedResourceRequest.h" | 48 #include "core/loader/cache/CachedResourceRequest.h" |
49 #include "core/loader/cache/CachedSVGDocument.h" | 49 #include "core/loader/cache/CachedSVGDocument.h" |
50 #include "core/loader/cache/CachedScript.h" | 50 #include "core/loader/cache/CachedScript.h" |
51 #include "core/loader/cache/CachedShader.h" | 51 #include "core/loader/cache/CachedShader.h" |
52 #include "core/loader/cache/CachedXSLStyleSheet.h" | 52 #include "core/loader/cache/CachedXSLStyleSheet.h" |
53 #include "core/loader/cache/MemoryCache.h" | 53 #include "core/loader/cache/MemoryCache.h" |
54 #include "core/page/Console.h" | |
55 #include "core/page/ContentSecurityPolicy.h" | 54 #include "core/page/ContentSecurityPolicy.h" |
56 #include "core/page/DOMWindow.h" | 55 #include "core/page/DOMWindow.h" |
57 #include "core/page/Frame.h" | 56 #include "core/page/Frame.h" |
58 #include "core/page/Performance.h" | 57 #include "core/page/Performance.h" |
59 #include "core/page/Settings.h" | 58 #include "core/page/Settings.h" |
60 #include "core/platform/Logging.h" | |
61 #include "weborigin/SecurityOrigin.h" | 59 #include "weborigin/SecurityOrigin.h" |
62 #include "weborigin/SecurityPolicy.h" | 60 #include "weborigin/SecurityPolicy.h" |
63 | 61 |
64 #include "core/loader/cache/CachedTextTrack.h" | 62 #include "core/loader/cache/CachedTextTrack.h" |
65 | 63 |
66 #define PRELOAD_DEBUG 0 | 64 #define PRELOAD_DEBUG 0 |
67 | 65 |
68 namespace WebCore { | 66 namespace WebCore { |
69 | 67 |
70 static CachedResource* createResource(CachedResource::Type type, ResourceRequest
& request, const String& charset) | 68 static CachedResource* createResource(CachedResource::Type type, ResourceRequest
& request, const String& charset) |
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 info.addMember(m_garbageCollectDocumentResourcesTimer, "garbageCollectDocume
ntResourcesTimer"); | 998 info.addMember(m_garbageCollectDocumentResourcesTimer, "garbageCollectDocume
ntResourcesTimer"); |
1001 } | 999 } |
1002 | 1000 |
1003 const ResourceLoaderOptions& CachedResourceLoader::defaultCachedResourceOptions(
) | 1001 const ResourceLoaderOptions& CachedResourceLoader::defaultCachedResourceOptions(
) |
1004 { | 1002 { |
1005 static ResourceLoaderOptions options(SendCallbacks, SniffContent, BufferData
, AllowStoredCredentials, ClientRequestedCredentials, AskClientForCrossOriginCre
dentials, DoSecurityCheck, CheckContentSecurityPolicy); | 1003 static ResourceLoaderOptions options(SendCallbacks, SniffContent, BufferData
, AllowStoredCredentials, ClientRequestedCredentials, AskClientForCrossOriginCre
dentials, DoSecurityCheck, CheckContentSecurityPolicy); |
1006 return options; | 1004 return options; |
1007 } | 1005 } |
1008 | 1006 |
1009 } | 1007 } |
OLD | NEW |