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.
27 #include "DiagnosticLoggingKeys.h"
31 String DiagnosticLoggingKeys::mediaLoadedKey()
33 return ASCIILiteral("mediaLoaded");
36 String DiagnosticLoggingKeys::mediaLoadingFailedKey()
38 return ASCIILiteral("mediaFailedLoading");
41 String DiagnosticLoggingKeys::missingValidatorFieldsKey()
43 return ASCIILiteral("missingValidatorFields");
46 String DiagnosticLoggingKeys::mustRevalidateIsExpiredKey()
48 return ASCIILiteral("mustRevalidateIsExpired");
51 String DiagnosticLoggingKeys::pluginLoadedKey()
53 return ASCIILiteral("pluginLoaded");
56 String DiagnosticLoggingKeys::pluginLoadingFailedKey()
58 return ASCIILiteral("pluginFailedLoading");
61 String DiagnosticLoggingKeys::pageContainsPluginKey()
63 return ASCIILiteral("pageContainsPlugin");
66 String DiagnosticLoggingKeys::pageContainsAtLeastOnePluginKey()
68 return ASCIILiteral("pageContainsAtLeastOnePlugin");
71 String DiagnosticLoggingKeys::pageContainsMediaEngineKey()
73 return ASCIILiteral("pageContainsMediaEngine");
76 String DiagnosticLoggingKeys::pageContainsAtLeastOneMediaEngineKey()
78 return ASCIILiteral("pageContainsAtLeastOneMediaEngine");
81 String DiagnosticLoggingKeys::successKey()
83 return ASCIILiteral("success");
86 String DiagnosticLoggingKeys::failureKey()
88 return ASCIILiteral("failure");
91 String DiagnosticLoggingKeys::pageLoadedKey()
93 return ASCIILiteral("pageLoaded");
96 String DiagnosticLoggingKeys::playedKey()
98 return ASCIILiteral("played");
101 String DiagnosticLoggingKeys::engineFailedToLoadKey()
103 return ASCIILiteral("engineFailedToLoad");
106 String DiagnosticLoggingKeys::navigationKey()
108 return ASCIILiteral("navigation");
111 String DiagnosticLoggingKeys::networkCacheKey()
113 return ASCIILiteral("networkCache");
116 String DiagnosticLoggingKeys::networkKey()
118 return ASCIILiteral("network");
121 String DiagnosticLoggingKeys::noCacheKey()
123 return ASCIILiteral("noCache");
126 String DiagnosticLoggingKeys::noStoreKey()
128 return ASCIILiteral("noStore");
131 String DiagnosticLoggingKeys::notInMemoryCacheKey()
133 return ASCIILiteral("notInMemoryCache");
136 String DiagnosticLoggingKeys::pageCacheKey()
138 return ASCIILiteral("pageCache");
141 String DiagnosticLoggingKeys::noDocumentLoaderKey()
143 return ASCIILiteral("noDocumentLoader");
146 String DiagnosticLoggingKeys::noLongerInCacheKey()
148 return ASCIILiteral("noLongerInCache");
151 String DiagnosticLoggingKeys::otherKey()
153 return ASCIILiteral("other");
156 String DiagnosticLoggingKeys::mainDocumentErrorKey()
158 return ASCIILiteral("mainDocumentError");
161 String DiagnosticLoggingKeys::mainResourceKey()
163 return ASCIILiteral("mainResource");
166 String DiagnosticLoggingKeys::mediaKey()
168 return ASCIILiteral("media");
171 String DiagnosticLoggingKeys::isErrorPageKey()
173 return ASCIILiteral("isErrorPage");
176 String DiagnosticLoggingKeys::isExpiredKey()
178 return ASCIILiteral("isExpired");
181 String DiagnosticLoggingKeys::isReloadIgnoringCacheDataKey()
183 return ASCIILiteral("isReloadIgnoringCacheData");
186 String DiagnosticLoggingKeys::loadedKey()
188 return ASCIILiteral("loaded");
191 String DiagnosticLoggingKeys::loadingKey()
193 return ASCIILiteral("loading");
196 String DiagnosticLoggingKeys::hasPluginsKey()
198 return ASCIILiteral("hasPlugins");
201 String DiagnosticLoggingKeys::httpsNoStoreKey()
203 return ASCIILiteral("httpsNoStore");
206 String DiagnosticLoggingKeys::imageKey()
208 return ASCIILiteral("image");
211 String DiagnosticLoggingKeys::inMemoryCacheKey()
213 return ASCIILiteral("inMemoryCache");
216 String DiagnosticLoggingKeys::isAttachmentKey()
218 return ASCIILiteral("isAttachment");
221 String DiagnosticLoggingKeys::isConditionalRequestKey()
223 return ASCIILiteral("isConditionalRequest");
226 String DiagnosticLoggingKeys::noCurrentHistoryItemKey()
228 return ASCIILiteral("noCurrentHistoryItem");
231 String DiagnosticLoggingKeys::quirkRedirectComingKey()
233 return ASCIILiteral("quirkRedirectComing");
236 String DiagnosticLoggingKeys::rawKey()
238 return ASCIILiteral("raw");
241 String DiagnosticLoggingKeys::reasonKey()
243 return ASCIILiteral("reason");
246 String DiagnosticLoggingKeys::loadingAPISenseKey()
248 return ASCIILiteral("loadingAPISense");
251 String DiagnosticLoggingKeys::documentLoaderStoppingKey()
253 return ASCIILiteral("documentLoaderStopping");
256 String DiagnosticLoggingKeys::cannotSuspendActiveDOMObjectsKey()
258 return ASCIILiteral("cannotSuspendActiveDOMObjects");
261 String DiagnosticLoggingKeys::applicationCacheKey()
263 return ASCIILiteral("applicationCache");
266 String DiagnosticLoggingKeys::audioKey()
268 return ASCIILiteral("audio");
271 String DiagnosticLoggingKeys::cacheControlNoStoreKey()
273 return ASCIILiteral("cacheControlNoStore");
276 String DiagnosticLoggingKeys::cachedResourceRevalidationKey()
278 return ASCIILiteral("cachedResourceRevalidation");
281 String DiagnosticLoggingKeys::deniedByClientKey()
283 return ASCIILiteral("deniedByClient");
286 String DiagnosticLoggingKeys::deviceMotionKey()
288 return ASCIILiteral("deviceMotion");
291 String DiagnosticLoggingKeys::deviceOrientationKey()
293 return ASCIILiteral("deviceOrientation");
296 String DiagnosticLoggingKeys::deviceProximityKey()
298 return ASCIILiteral("deviceProximity");
301 String DiagnosticLoggingKeys::diskCacheKey()
303 return ASCIILiteral("diskCache");
306 String DiagnosticLoggingKeys::diskCacheAfterValidationKey()
308 return ASCIILiteral("diskCacheAfterValidation");
311 String DiagnosticLoggingKeys::reloadKey()
313 return ASCIILiteral("reload");
316 String DiagnosticLoggingKeys::retrievalRequestKey()
318 return ASCIILiteral("retrievalRequest");
321 String DiagnosticLoggingKeys::resourceKey()
323 return ASCIILiteral("resource");
326 String DiagnosticLoggingKeys::resourceRequestKey()
328 return ASCIILiteral("resourceRequest");
331 String DiagnosticLoggingKeys::resourceResponseKey()
333 return ASCIILiteral("resourceResponse");
336 String DiagnosticLoggingKeys::retrievalKey()
338 return ASCIILiteral("retrieval");
341 String DiagnosticLoggingKeys::revalidatingKey()
343 return ASCIILiteral("revalidating");
346 String DiagnosticLoggingKeys::reloadFromOriginKey()
348 return ASCIILiteral("reloadFromOrigin");
351 String DiagnosticLoggingKeys::sameLoadKey()
353 return ASCIILiteral("sameLoad");
356 String DiagnosticLoggingKeys::scriptKey()
358 return ASCIILiteral("script");
361 String DiagnosticLoggingKeys::sourceKey()
363 return ASCIILiteral("sourceKey");
366 String DiagnosticLoggingKeys::styleSheetKey()
368 return ASCIILiteral("styleSheet");
371 String DiagnosticLoggingKeys::svgDocumentKey()
373 return ASCIILiteral("svgDocument");
376 String DiagnosticLoggingKeys::uncacheableStatusCodeKey()
378 return ASCIILiteral("uncacheableStatusCode");
381 String DiagnosticLoggingKeys::unsupportedHTTPMethodKey()
383 return ASCIILiteral("unsupportedHTTPMethod");
386 String DiagnosticLoggingKeys::unsuspendableDOMObjectKey()
388 return ASCIILiteral("unsuspendableDOMObject");
391 String DiagnosticLoggingKeys::unusableCachedEntryKey()
393 return ASCIILiteral("unusableCachedEntry");
396 String DiagnosticLoggingKeys::unusedKey()
398 return ASCIILiteral("unused");
401 String DiagnosticLoggingKeys::unusedReasonCredentialSettingsKey()
403 return ASCIILiteral("unused.reason.credentialSettings");
406 String DiagnosticLoggingKeys::unusedReasonErrorKey()
408 return ASCIILiteral("unused.reason.error");
411 String DiagnosticLoggingKeys::unusedReasonMustRevalidateNoValidatorKey()
413 return ASCIILiteral("unused.reason.mustRevalidateNoValidator");
416 String DiagnosticLoggingKeys::unusedReasonNoStoreKey()
418 return ASCIILiteral("unused.reason.noStore");
421 String DiagnosticLoggingKeys::unusedReasonRedirectChainKey()
423 return ASCIILiteral("unused.reason.redirectChain");
426 String DiagnosticLoggingKeys::unusedReasonReloadKey()
428 return ASCIILiteral("unused.reason.reload");
431 String DiagnosticLoggingKeys::unusedReasonTypeMismatchKey()
433 return ASCIILiteral("unused.reason.typeMismatch");
436 String DiagnosticLoggingKeys::usedKey()
438 return ASCIILiteral("used");
441 String DiagnosticLoggingKeys::userKey()
443 return ASCIILiteral("user");
446 String DiagnosticLoggingKeys::varyingHeaderMismatchKey()
448 return ASCIILiteral("varyingHeaderMismatch");
451 String DiagnosticLoggingKeys::videoKey()
453 return ASCIILiteral("video");
456 String DiagnosticLoggingKeys::webViewKey()
458 return ASCIILiteral("webView");
461 String DiagnosticLoggingKeys::zoomedKey()
463 return ASCIILiteral("zoomed");
466 String DiagnosticLoggingKeys::expiredKey()
468 return ASCIILiteral("expired");
471 String DiagnosticLoggingKeys::fontKey()
473 return ASCIILiteral("font");
476 String DiagnosticLoggingKeys::prunedDueToMemoryPressureKey()
478 return ASCIILiteral("pruned.memoryPressure");
481 String DiagnosticLoggingKeys::prunedDueToMaxSizeReached()
483 return ASCIILiteral("pruned.capacityReached");
486 String DiagnosticLoggingKeys::prunedDueToProcessSuspended()
488 return ASCIILiteral("pruned.processSuspended");
491 String WebCore::DiagnosticLoggingKeys::notHTTPFamilyKey()
493 return ASCIILiteral("notHTTPFamily");
496 String DiagnosticLoggingKeys::notInCacheKey()
498 return ASCIILiteral("notInCache");
501 } // namespace WebCore