#include "WebString.h"
#include "WebURL.h"
-#if INSIDE_BLINK
-namespace WebCore { class ResourceError; }
-#endif
-
namespace blink {
+class ResourceError;
+
struct WebURLError {
// A namespace for "reason" to support various layers generating
// resource errors. WebKit does not care about the value of this
WebURLError() : reason(0), staleCopyInCache(false), isCancellation(false) { }
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebURLError(const WebCore::ResourceError&);
- BLINK_PLATFORM_EXPORT WebURLError& operator=(const WebCore::ResourceError&);
- BLINK_PLATFORM_EXPORT operator WebCore::ResourceError() const;
+ BLINK_PLATFORM_EXPORT WebURLError(const ResourceError&);
+ BLINK_PLATFORM_EXPORT WebURLError& operator=(const ResourceError&);
+ BLINK_PLATFORM_EXPORT operator ResourceError() const;
#endif
};