Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebURLError.h
index cdd0b6a..7ffd772 100644 (file)
 #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
@@ -69,9 +67,9 @@ struct WebURLError {
     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
 };