diff options
Diffstat (limited to 'Source/WebKit2/WebProcess/WebCoreSupport/WebErrors.h')
-rw-r--r-- | Source/WebKit2/WebProcess/WebCoreSupport/WebErrors.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/WebKit2/WebProcess/WebCoreSupport/WebErrors.h b/Source/WebKit2/WebProcess/WebCoreSupport/WebErrors.h index d27a0f963..84dd73e3c 100644 --- a/Source/WebKit2/WebProcess/WebCoreSupport/WebErrors.h +++ b/Source/WebKit2/WebProcess/WebCoreSupport/WebErrors.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010, 2011 Apple Inc. All rights reserved. + * Copyright (C) 2010-2016 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -23,8 +23,7 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef WebErrors_h -#define WebErrors_h +#pragma once namespace WebCore { class URL; @@ -37,13 +36,15 @@ namespace WebKit { WebCore::ResourceError cancelledError(const WebCore::ResourceRequest&); WebCore::ResourceError blockedError(const WebCore::ResourceRequest&); +WebCore::ResourceError blockedByContentBlockerError(const WebCore::ResourceRequest&); WebCore::ResourceError cannotShowURLError(const WebCore::ResourceRequest&); WebCore::ResourceError interruptedForPolicyChangeError(const WebCore::ResourceRequest&); +#if ENABLE(CONTENT_FILTERING) +WebCore::ResourceError blockedByContentFilterError(const WebCore::ResourceRequest&); +#endif WebCore::ResourceError cannotShowMIMETypeError(const WebCore::ResourceResponse&); WebCore::ResourceError fileDoesNotExistError(const WebCore::ResourceResponse&); WebCore::ResourceError pluginWillHandleLoadError(const WebCore::ResourceResponse&); WebCore::ResourceError internalError(const WebCore::URL&); } // namespace WebKit - -#endif // WebErrors_h |