Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Unified Diff: public/platform/WebURLError.h

Issue 462843003: Cleanup namespace usage in public/platform/{Web[P-W]*,linux/*}.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/WebURL.h ('k') | public/platform/WebURLLoadTiming.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebURLError.h
diff --git a/public/platform/WebURLError.h b/public/platform/WebURLError.h
index 6ba63041a5a0fbf5a0ee0f22bd65d1230b35486a..7ffd77245bc81a59e3d04e749c3f4d30c652db42 100644
--- a/public/platform/WebURLError.h
+++ b/public/platform/WebURLError.h
@@ -34,12 +34,10 @@
#include "WebString.h"
#include "WebURL.h"
-#if INSIDE_BLINK
-namespace blink { 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 blink::ResourceError&);
- BLINK_PLATFORM_EXPORT WebURLError& operator=(const blink::ResourceError&);
- BLINK_PLATFORM_EXPORT operator blink::ResourceError() const;
+ BLINK_PLATFORM_EXPORT WebURLError(const ResourceError&);
+ BLINK_PLATFORM_EXPORT WebURLError& operator=(const ResourceError&);
+ BLINK_PLATFORM_EXPORT operator ResourceError() const;
#endif
};
« no previous file with comments | « public/platform/WebURL.h ('k') | public/platform/WebURLLoadTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698