| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All |
| 7 * rights reserved. | 7 * rights reserved. |
| 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 10 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 #include "platform/loader/fetch/ResourceFetcher.h" | 235 #include "platform/loader/fetch/ResourceFetcher.h" |
| 236 #include "platform/network/ContentSecurityPolicyParsers.h" | 236 #include "platform/network/ContentSecurityPolicyParsers.h" |
| 237 #include "platform/network/HTTPParsers.h" | 237 #include "platform/network/HTTPParsers.h" |
| 238 #include "platform/network/NetworkStateNotifier.h" | 238 #include "platform/network/NetworkStateNotifier.h" |
| 239 #include "platform/scroll/ScrollbarTheme.h" | 239 #include "platform/scroll/ScrollbarTheme.h" |
| 240 #include "platform/text/PlatformLocale.h" | 240 #include "platform/text/PlatformLocale.h" |
| 241 #include "platform/text/SegmentedString.h" | 241 #include "platform/text/SegmentedString.h" |
| 242 #include "platform/weborigin/OriginAccessEntry.h" | 242 #include "platform/weborigin/OriginAccessEntry.h" |
| 243 #include "platform/weborigin/SchemeRegistry.h" | 243 #include "platform/weborigin/SchemeRegistry.h" |
| 244 #include "platform/weborigin/SecurityOrigin.h" | 244 #include "platform/weborigin/SecurityOrigin.h" |
| 245 #include "platform/wtf/AutoReset.h" |
| 246 #include "platform/wtf/CurrentTime.h" |
| 247 #include "platform/wtf/DateMath.h" |
| 248 #include "platform/wtf/Functional.h" |
| 249 #include "platform/wtf/HashFunctions.h" |
| 250 #include "platform/wtf/PtrUtil.h" |
| 251 #include "platform/wtf/StdLibExtras.h" |
| 252 #include "platform/wtf/text/CharacterNames.h" |
| 253 #include "platform/wtf/text/StringBuffer.h" |
| 254 #include "platform/wtf/text/TextEncodingRegistry.h" |
| 245 #include "public/platform/InterfaceProvider.h" | 255 #include "public/platform/InterfaceProvider.h" |
| 246 #include "public/platform/Platform.h" | 256 #include "public/platform/Platform.h" |
| 247 #include "public/platform/WebAddressSpace.h" | 257 #include "public/platform/WebAddressSpace.h" |
| 248 #include "public/platform/WebPrerenderingSupport.h" | 258 #include "public/platform/WebPrerenderingSupport.h" |
| 249 #include "public/platform/WebScheduler.h" | 259 #include "public/platform/WebScheduler.h" |
| 250 #include "public/platform/modules/sensitive_input_visibility/sensitive_input_vis
ibility_service.mojom-blink.h" | 260 #include "public/platform/modules/sensitive_input_visibility/sensitive_input_vis
ibility_service.mojom-blink.h" |
| 251 #include "public/platform/site_engagement.mojom-blink.h" | 261 #include "public/platform/site_engagement.mojom-blink.h" |
| 252 #include "wtf/AutoReset.h" | |
| 253 #include "wtf/CurrentTime.h" | |
| 254 #include "wtf/DateMath.h" | |
| 255 #include "wtf/Functional.h" | |
| 256 #include "wtf/HashFunctions.h" | |
| 257 #include "wtf/PtrUtil.h" | |
| 258 #include "wtf/StdLibExtras.h" | |
| 259 #include "wtf/text/CharacterNames.h" | |
| 260 #include "wtf/text/StringBuffer.h" | |
| 261 #include "wtf/text/TextEncodingRegistry.h" | |
| 262 | 262 |
| 263 #include <memory> | 263 #include <memory> |
| 264 | 264 |
| 265 #ifndef NDEBUG | 265 #ifndef NDEBUG |
| 266 using WeakDocumentSet = | 266 using WeakDocumentSet = |
| 267 blink::PersistentHeapHashSet<blink::WeakMember<blink::Document>>; | 267 blink::PersistentHeapHashSet<blink::WeakMember<blink::Document>>; |
| 268 static WeakDocumentSet& liveDocumentSet(); | 268 static WeakDocumentSet& liveDocumentSet(); |
| 269 #endif | 269 #endif |
| 270 | 270 |
| 271 namespace blink { | 271 namespace blink { |
| (...skipping 6381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6653 } | 6653 } |
| 6654 | 6654 |
| 6655 void showLiveDocumentInstances() { | 6655 void showLiveDocumentInstances() { |
| 6656 WeakDocumentSet& set = liveDocumentSet(); | 6656 WeakDocumentSet& set = liveDocumentSet(); |
| 6657 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 6657 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
| 6658 for (blink::Document* document : set) | 6658 for (blink::Document* document : set) |
| 6659 fprintf(stderr, "- Document %p URL: %s\n", document, | 6659 fprintf(stderr, "- Document %p URL: %s\n", document, |
| 6660 document->Url().GetString().Utf8().Data()); | 6660 document->Url().GetString().Utf8().Data()); |
| 6661 } | 6661 } |
| 6662 #endif | 6662 #endif |
| OLD | NEW |