OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 WebURLError() | 71 WebURLError() |
72 : reason(0), | 72 : reason(0), |
73 staleCopyInCache(false), | 73 staleCopyInCache(false), |
74 isCancellation(false), | 74 isCancellation(false), |
75 wasIgnoredByHandler(false) {} | 75 wasIgnoredByHandler(false) {} |
76 | 76 |
77 #if INSIDE_BLINK | 77 #if INSIDE_BLINK |
78 BLINK_PLATFORM_EXPORT WebURLError(const ResourceError&); | 78 BLINK_PLATFORM_EXPORT WebURLError(const ResourceError&); |
79 BLINK_PLATFORM_EXPORT WebURLError& operator=(const ResourceError&); | 79 BLINK_PLATFORM_EXPORT WebURLError& operator=(const ResourceError&); |
80 BLINK_PLATFORM_EXPORT operator ResourceError() const; | 80 BLINK_PLATFORM_EXPORT operator ResourceError() const; |
| 81 |
| 82 BLINK_PLATFORM_EXPORT static WebURLError cacheMissError(); |
| 83 BLINK_PLATFORM_EXPORT bool isCacheMiss() const; |
81 #endif | 84 #endif |
82 }; | 85 }; |
83 | 86 |
84 } // namespace blink | 87 } // namespace blink |
85 | 88 |
86 #endif | 89 #endif |
OLD | NEW |