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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 #include "core/loader/SubstituteData.h" | 54 #include "core/loader/SubstituteData.h" |
55 #include "core/loader/UniqueIdentifier.h" | 55 #include "core/loader/UniqueIdentifier.h" |
56 #include "core/loader/appcache/ApplicationCacheHost.h" | 56 #include "core/loader/appcache/ApplicationCacheHost.h" |
57 #include "core/frame/DOMWindow.h" | 57 #include "core/frame/DOMWindow.h" |
58 #include "core/frame/LocalFrame.h" | 58 #include "core/frame/LocalFrame.h" |
59 #include "core/frame/csp/ContentSecurityPolicy.h" | 59 #include "core/frame/csp/ContentSecurityPolicy.h" |
60 #include "core/timing/Performance.h" | 60 #include "core/timing/Performance.h" |
61 #include "core/timing/ResourceTimingInfo.h" | 61 #include "core/timing/ResourceTimingInfo.h" |
62 #include "core/frame/Settings.h" | 62 #include "core/frame/Settings.h" |
63 #include "platform/Logging.h" | 63 #include "platform/Logging.h" |
64 #include "platform/TraceEvent.h" | |
65 #include "platform/weborigin/SecurityOrigin.h" | 64 #include "platform/weborigin/SecurityOrigin.h" |
66 #include "platform/weborigin/SecurityPolicy.h" | 65 #include "platform/weborigin/SecurityPolicy.h" |
67 #include "public/platform/Platform.h" | 66 #include "public/platform/Platform.h" |
68 #include "public/platform/WebURL.h" | 67 #include "public/platform/WebURL.h" |
| 68 #include "wtf/TraceEvent.h" |
69 #include "wtf/text/CString.h" | 69 #include "wtf/text/CString.h" |
70 #include "wtf/text/WTFString.h" | 70 #include "wtf/text/WTFString.h" |
71 | 71 |
72 #define PRELOAD_DEBUG 0 | 72 #define PRELOAD_DEBUG 0 |
73 | 73 |
74 namespace WebCore { | 74 namespace WebCore { |
75 | 75 |
76 static Resource* createResource(Resource::Type type, const ResourceRequest& requ
est, const String& charset) | 76 static Resource* createResource(Resource::Type type, const ResourceRequest& requ
est, const String& charset) |
77 { | 77 { |
78 switch (type) { | 78 switch (type) { |
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1395 case Revalidate: | 1395 case Revalidate: |
1396 ++m_revalidateCount; | 1396 ++m_revalidateCount; |
1397 return; | 1397 return; |
1398 case Use: | 1398 case Use: |
1399 ++m_useCount; | 1399 ++m_useCount; |
1400 return; | 1400 return; |
1401 } | 1401 } |
1402 } | 1402 } |
1403 | 1403 |
1404 } | 1404 } |
OLD | NEW |