|
Line 0
a/Source/WebKit2/WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp_sec1
|
|
|
1 |
/* |
| 2 |
* Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 |
* Portions Copyright (c) 2010 Motorola Mobility, Inc. All rights reserved. |
| 4 |
* Copyright (C) 2011 Igalia S.L. |
| 5 |
* Copyright (C) 2011 Samsung Electronics. All rights reserved. |
| 6 |
* |
| 7 |
* Redistribution and use in source and binary forms, with or without |
| 8 |
* modification, are permitted provided that the following conditions |
| 9 |
* are met: |
| 10 |
* 1. Redistributions of source code must retain the above copyright |
| 11 |
* notice, this list of conditions and the following disclaimer. |
| 12 |
* 2. Redistributions in binary form must reproduce the above copyright |
| 13 |
* notice, this list of conditions and the following disclaimer in the |
| 14 |
* documentation and/or other materials provided with the distribution. |
| 15 |
* |
| 16 |
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' |
| 17 |
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
| 18 |
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 19 |
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS |
| 20 |
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 21 |
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 22 |
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 23 |
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 24 |
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 25 |
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 26 |
* THE POSSIBILITY OF SUCH DAMAGE. |
| 27 |
*/ |
| 28 |
|
| 29 |
#include "config.h" |
| 30 |
#include "WebErrors.h" |
| 31 |
|
| 32 |
#include <WebCore/NotImplemented.h> |
| 33 |
#include <WebCore/ResourceRequest.h> |
| 34 |
#include <WebCore/ResourceResponse.h> |
| 35 |
|
| 36 |
using namespace WebCore; |
| 37 |
|
| 38 |
namespace WebKit { |
| 39 |
|
| 40 |
ResourceError cancelledError(const ResourceRequest& request) |
| 41 |
{ |
| 42 |
notImplemented(); |
| 43 |
return ResourceError(); |
| 44 |
} |
| 45 |
|
| 46 |
ResourceError blockedError(const ResourceRequest& request) |
| 47 |
{ |
| 48 |
notImplemented(); |
| 49 |
return ResourceError(); |
| 50 |
} |
| 51 |
|
| 52 |
ResourceError cannotShowURLError(const ResourceRequest& request) |
| 53 |
{ |
| 54 |
notImplemented(); |
| 55 |
return ResourceError(); |
| 56 |
} |
| 57 |
|
| 58 |
ResourceError interruptForPolicyChangeError(const ResourceRequest& request) |
| 59 |
{ |
| 60 |
notImplemented(); |
| 61 |
return ResourceError(); |
| 62 |
} |
| 63 |
|
| 64 |
ResourceError cannotShowMIMETypeError(const ResourceResponse& response) |
| 65 |
{ |
| 66 |
notImplemented(); |
| 67 |
return ResourceError(); |
| 68 |
} |
| 69 |
|
| 70 |
ResourceError fileDoesNotExistError(const ResourceResponse& response) |
| 71 |
{ |
| 72 |
notImplemented(); |
| 73 |
return ResourceError(); |
| 74 |
} |
| 75 |
|
| 76 |
ResourceError pluginWillHandleLoadError(const ResourceResponse& response) |
| 77 |
{ |
| 78 |
notImplemented(); |
| 79 |
return ResourceError(); |
| 80 |
} |
| 81 |
|
| 82 |
} // namespace WebKit |