#ifndef content_protocol_Preload_h
#define content_protocol_Preload_h
#include "content/common/content_export.h"
#include "content/browser/devtools/protocol/protocol.h"
namespace content {
namespace protocol {
namespace Preload {
SpeculationAction;
SpeculationTargetHint;
class PreloadingAttemptKey;
PrerenderFinalStatus;
PreloadingStatus;
PrefetchStatus;
class PrerenderMismatchedHeaders;
namespace SpeculationActionEnum {
CONTENT_EXPORT extern const char Prefetch[];
CONTENT_EXPORT extern const char Prerender[];
}
namespace SpeculationTargetHintEnum {
CONTENT_EXPORT extern const char Blank[];
CONTENT_EXPORT extern const char Self[];
}
namespace PrerenderFinalStatusEnum {
CONTENT_EXPORT extern const char Activated[];
CONTENT_EXPORT extern const char Destroyed[];
CONTENT_EXPORT extern const char LowEndDevice[];
CONTENT_EXPORT extern const char InvalidSchemeRedirect[];
CONTENT_EXPORT extern const char InvalidSchemeNavigation[];
CONTENT_EXPORT extern const char NavigationRequestBlockedByCsp[];
CONTENT_EXPORT extern const char MainFrameNavigation[];
CONTENT_EXPORT extern const char MojoBinderPolicy[];
CONTENT_EXPORT extern const char RendererProcessCrashed[];
CONTENT_EXPORT extern const char RendererProcessKilled[];
CONTENT_EXPORT extern const char Download[];
CONTENT_EXPORT extern const char TriggerDestroyed[];
CONTENT_EXPORT extern const char NavigationNotCommitted[];
CONTENT_EXPORT extern const char NavigationBadHttpStatus[];
CONTENT_EXPORT extern const char ClientCertRequested[];
CONTENT_EXPORT extern const char NavigationRequestNetworkError[];
CONTENT_EXPORT extern const char CancelAllHostsForTesting[];
CONTENT_EXPORT extern const char DidFailLoad[];
CONTENT_EXPORT extern const char Stop[];
CONTENT_EXPORT extern const char SslCertificateError[];
CONTENT_EXPORT extern const char LoginAuthRequested[];
CONTENT_EXPORT extern const char UaChangeRequiresReload[];
CONTENT_EXPORT extern const char BlockedByClient[];
CONTENT_EXPORT extern const char AudioOutputDeviceRequested[];
CONTENT_EXPORT extern const char MixedContent[];
CONTENT_EXPORT extern const char TriggerBackgrounded[];
CONTENT_EXPORT extern const char MemoryLimitExceeded[];
CONTENT_EXPORT extern const char DataSaverEnabled[];
CONTENT_EXPORT extern const char TriggerUrlHasEffectiveUrl[];
CONTENT_EXPORT extern const char ActivatedBeforeStarted[];
CONTENT_EXPORT extern const char InactivePageRestriction[];
CONTENT_EXPORT extern const char StartFailed[];
CONTENT_EXPORT extern const char TimeoutBackgrounded[];
CONTENT_EXPORT extern const char CrossSiteRedirectInInitialNavigation[];
CONTENT_EXPORT extern const char CrossSiteNavigationInInitialNavigation[];
CONTENT_EXPORT extern const char SameSiteCrossOriginRedirectNotOptInInInitialNavigation[];
CONTENT_EXPORT extern const char SameSiteCrossOriginNavigationNotOptInInInitialNavigation[];
CONTENT_EXPORT extern const char ActivationNavigationParameterMismatch[];
CONTENT_EXPORT extern const char ActivatedInBackground[];
CONTENT_EXPORT extern const char EmbedderHostDisallowed[];
CONTENT_EXPORT extern const char ActivationNavigationDestroyedBeforeSuccess[];
CONTENT_EXPORT extern const char TabClosedByUserGesture[];
CONTENT_EXPORT extern const char TabClosedWithoutUserGesture[];
CONTENT_EXPORT extern const char PrimaryMainFrameRendererProcessCrashed[];
CONTENT_EXPORT extern const char PrimaryMainFrameRendererProcessKilled[];
CONTENT_EXPORT extern const char ActivationFramePolicyNotCompatible[];
CONTENT_EXPORT extern const char PreloadingDisabled[];
CONTENT_EXPORT extern const char BatterySaverEnabled[];
CONTENT_EXPORT extern const char ActivatedDuringMainFrameNavigation[];
CONTENT_EXPORT extern const char PreloadingUnsupportedByWebContents[];
CONTENT_EXPORT extern const char CrossSiteRedirectInMainFrameNavigation[];
CONTENT_EXPORT extern const char CrossSiteNavigationInMainFrameNavigation[];
CONTENT_EXPORT extern const char SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation[];
CONTENT_EXPORT extern const char SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation[];
CONTENT_EXPORT extern const char MemoryPressureOnTrigger[];
CONTENT_EXPORT extern const char MemoryPressureAfterTriggered[];
CONTENT_EXPORT extern const char PrerenderingDisabledByDevTools[];
CONTENT_EXPORT extern const char SpeculationRuleRemoved[];
CONTENT_EXPORT extern const char ActivatedWithAuxiliaryBrowsingContexts[];
CONTENT_EXPORT extern const char MaxNumOfRunningEagerPrerendersExceeded[];
CONTENT_EXPORT extern const char MaxNumOfRunningNonEagerPrerendersExceeded[];
CONTENT_EXPORT extern const char MaxNumOfRunningEmbedderPrerendersExceeded[];
CONTENT_EXPORT extern const char PrerenderingUrlHasEffectiveUrl[];
CONTENT_EXPORT extern const char RedirectedPrerenderingUrlHasEffectiveUrl[];
CONTENT_EXPORT extern const char ActivationUrlHasEffectiveUrl[];
CONTENT_EXPORT extern const char JavaScriptInterfaceAdded[];
CONTENT_EXPORT extern const char JavaScriptInterfaceRemoved[];
CONTENT_EXPORT extern const char AllPrerenderingCanceled[];
CONTENT_EXPORT extern const char WindowClosed[];
CONTENT_EXPORT extern const char SlowNetwork[];
CONTENT_EXPORT extern const char OtherPrerenderedPageActivated[];
}
namespace PreloadingStatusEnum {
CONTENT_EXPORT extern const char Pending[];
CONTENT_EXPORT extern const char Running[];
CONTENT_EXPORT extern const char Ready[];
CONTENT_EXPORT extern const char Success[];
CONTENT_EXPORT extern const char Failure[];
CONTENT_EXPORT extern const char NotSupported[];
}
namespace PrefetchStatusEnum {
CONTENT_EXPORT extern const char PrefetchAllowed[];
CONTENT_EXPORT extern const char PrefetchFailedIneligibleRedirect[];
CONTENT_EXPORT extern const char PrefetchFailedInvalidRedirect[];
CONTENT_EXPORT extern const char PrefetchFailedMIMENotSupported[];
CONTENT_EXPORT extern const char PrefetchFailedNetError[];
CONTENT_EXPORT extern const char PrefetchFailedNon2XX[];
CONTENT_EXPORT extern const char PrefetchEvictedAfterCandidateRemoved[];
CONTENT_EXPORT extern const char PrefetchEvictedForNewerPrefetch[];
CONTENT_EXPORT extern const char PrefetchHeldback[];
CONTENT_EXPORT extern const char PrefetchIneligibleRetryAfter[];
CONTENT_EXPORT extern const char PrefetchIsPrivacyDecoy[];
CONTENT_EXPORT extern const char PrefetchIsStale[];
CONTENT_EXPORT extern const char PrefetchNotEligibleBrowserContextOffTheRecord[];
CONTENT_EXPORT extern const char PrefetchNotEligibleDataSaverEnabled[];
CONTENT_EXPORT extern const char PrefetchNotEligibleExistingProxy[];
CONTENT_EXPORT extern const char PrefetchNotEligibleHostIsNonUnique[];
CONTENT_EXPORT extern const char PrefetchNotEligibleNonDefaultStoragePartition[];
CONTENT_EXPORT extern const char PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy[];
CONTENT_EXPORT extern const char PrefetchNotEligibleSchemeIsNotHttps[];
CONTENT_EXPORT extern const char PrefetchNotEligibleUserHasCookies[];
CONTENT_EXPORT extern const char PrefetchNotEligibleUserHasServiceWorker[];
CONTENT_EXPORT extern const char PrefetchNotEligibleBatterySaverEnabled[];
CONTENT_EXPORT extern const char PrefetchNotEligiblePreloadingDisabled[];
CONTENT_EXPORT extern const char PrefetchNotFinishedInTime[];
CONTENT_EXPORT extern const char PrefetchNotStarted[];
CONTENT_EXPORT extern const char PrefetchNotUsedCookiesChanged[];
CONTENT_EXPORT extern const char PrefetchProxyNotAvailable[];
CONTENT_EXPORT extern const char PrefetchResponseUsed[];
CONTENT_EXPORT extern const char PrefetchSuccessfulButNotUsed[];
CONTENT_EXPORT extern const char PrefetchNotUsedProbeFailed[];
}
class CONTENT_EXPORT PreloadingAttemptKey : public ::crdtp::ProtocolObject<PreloadingAttemptKey> { … };
class CONTENT_EXPORT PrerenderMismatchedHeaders : public ::crdtp::ProtocolObject<PrerenderMismatchedHeaders> { … };
class CONTENT_EXPORT Backend { … };
class CONTENT_EXPORT Frontend { … };
class CONTENT_EXPORT Dispatcher { … };
class CONTENT_EXPORT Metainfo { … };
}
}
}
#endif