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

Unified Diff: public/platform/WebURL.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/WebTransformAnimationCurve.h ('k') | public/platform/WebURLError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebURL.h
diff --git a/public/platform/WebURL.h b/public/platform/WebURL.h
index c2a8269653f1af39013d67e2216f3d6188fb82ed..07aa8fd24dad292c584b2c2ec6f75cc0a48d9dd5 100644
--- a/public/platform/WebURL.h
+++ b/public/platform/WebURL.h
@@ -35,14 +35,14 @@
#include "WebString.h"
#include <url/third_party/mozilla/url_parse.h>
-#if INSIDE_BLINK
-namespace blink { class KURL; }
-#else
+#if !INSIDE_BLINK
#include <url/gurl.h>
#endif
namespace blink {
+class KURL;
+
class WebURL {
public:
~WebURL()
@@ -102,9 +102,9 @@ public:
}
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebURL(const blink::KURL&);
- BLINK_PLATFORM_EXPORT WebURL& operator=(const blink::KURL&);
- BLINK_PLATFORM_EXPORT operator blink::KURL() const;
+ BLINK_PLATFORM_EXPORT WebURL(const KURL&);
+ BLINK_PLATFORM_EXPORT WebURL& operator=(const KURL&);
+ BLINK_PLATFORM_EXPORT operator KURL() const;
#else
WebURL(const GURL& url)
: m_string(WebString::fromUTF8(url.possibly_invalid_spec()))
« no previous file with comments | « public/platform/WebTransformAnimationCurve.h ('k') | public/platform/WebURLError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698