2 * Copyright (C) 2012, 2013 Apple Inc. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
13 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
14 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
17 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
18 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
19 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
20 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23 * THE POSSIBILITY OF SUCH DAMAGE.
26 #ifndef DiagnosticLoggingKeys_h
27 #define DiagnosticLoggingKeys_h
29 #include <wtf/text/WTFString.h>
33 class DiagnosticLoggingKeys {
35 static String applicationCacheKey();
36 static String audioKey();
37 WEBCORE_EXPORT static String cacheControlNoStoreKey();
38 static String cachedResourceRevalidationKey();
39 static String cannotSuspendActiveDOMObjectsKey();
40 static String deniedByClientKey();
41 static String deviceMotionKey();
42 static String deviceOrientationKey();
43 static String deviceProximityKey();
44 static String diskCacheKey();
45 static String diskCacheAfterValidationKey();
46 static String documentLoaderStoppingKey();
47 static String engineFailedToLoadKey();
48 static String expiredKey();
49 static String fontKey();
50 static String hasPluginsKey();
51 static String httpsNoStoreKey();
52 static String imageKey();
53 static String inMemoryCacheKey();
54 WEBCORE_EXPORT static String isAttachmentKey();
55 WEBCORE_EXPORT static String isConditionalRequestKey();
56 static String isErrorPageKey();
57 static String isExpiredKey();
58 WEBCORE_EXPORT static String isReloadIgnoringCacheDataKey();
59 static String loadedKey();
60 static String loadingKey();
61 static String loadingAPISenseKey();
62 static String mainDocumentErrorKey();
63 static String mainResourceKey();
64 static String mediaKey();
65 static String mediaLoadedKey();
66 static String mediaLoadingFailedKey();
67 WEBCORE_EXPORT static String missingValidatorFieldsKey();
68 static String mustRevalidateIsExpiredKey();
69 static String navigationKey();
70 WEBCORE_EXPORT static String networkCacheKey();
71 static String networkKey();
72 static String noCacheKey();
73 static String noCurrentHistoryItemKey();
74 static String noDocumentLoaderKey();
75 WEBCORE_EXPORT static String noLongerInCacheKey();
76 static String noStoreKey();
77 WEBCORE_EXPORT static String notHTTPFamilyKey();
78 WEBCORE_EXPORT static String notInCacheKey();
79 static String notInMemoryCacheKey();
80 WEBCORE_EXPORT static String otherKey();
81 static String pageCacheKey();
82 static String pageContainsAtLeastOneMediaEngineKey();
83 static String pageContainsAtLeastOnePluginKey();
84 static String pageContainsMediaEngineKey();
85 static String pageContainsPluginKey();
86 static String pageLoadedKey();
87 static String playedKey();
88 static String pluginLoadedKey();
89 static String pluginLoadingFailedKey();
90 static String prunedDueToMaxSizeReached();
91 static String prunedDueToMemoryPressureKey();
92 static String prunedDueToProcessSuspended();
93 static String quirkRedirectComingKey();
94 static String rawKey();
95 static String reasonKey();
96 static String reloadFromOriginKey();
97 static String reloadKey();
98 static String resourceKey();
99 static String resourceRequestKey();
100 static String resourceResponseKey();
101 WEBCORE_EXPORT static String retrievalKey();
102 static String revalidatingKey();
103 static String sameLoadKey();
104 static String scriptKey();
105 static String sourceKey();
106 static String styleSheetKey();
107 static String svgDocumentKey();
108 WEBCORE_EXPORT static String uncacheableStatusCodeKey();
109 WEBCORE_EXPORT static String unsupportedHTTPMethodKey();
110 static String unsuspendableDOMObjectKey();
111 WEBCORE_EXPORT static String unusableCachedEntryKey();
112 WEBCORE_EXPORT static String unusedKey();
113 static String unusedReasonCredentialSettingsKey();
114 static String unusedReasonErrorKey();
115 static String unusedReasonMustRevalidateNoValidatorKey();
116 static String unusedReasonNoStoreKey();
117 static String unusedReasonRedirectChainKey();
118 static String unusedReasonReloadKey();
119 static String unusedReasonTypeMismatchKey();
120 static String usedKey();
121 WEBCORE_EXPORT static String userKey();
122 WEBCORE_EXPORT static String varyingHeaderMismatchKey();
123 static String videoKey();
124 WEBCORE_EXPORT static String webViewKey();
125 WEBCORE_EXPORT static String zoomedKey();
127 // Success / Failure keys.
128 static String successKey();
129 static String failureKey();
134 #endif // DiagnosticLoggingKeys_h