Move URL from WebCore to WTF
[WebKit-https.git] / Source / WTF / wtf / glib / GUniquePtrSoup.h
similarity index 93%
rename from Source/WebCore/platform/network/soup/GUniquePtrSoup.h
rename to Source/WTF/wtf/glib/GUniquePtrSoup.h
index 86dc637..0b4fb34 100644 (file)
  *  Boston, MA 02110-1301, USA.
  */
 
-#ifndef GUniquePtrSoup_h
-#define GUniquePtrSoup_h
+#pragma once
+
+#include <wtf/Platform.h>
+
+#if USE(SOUP)
 
 #include <libsoup/soup.h>
 #include <wtf/glib/GUniquePtr.h>
@@ -32,4 +35,4 @@ WTF_DEFINE_GPTR_DELETER(SoupBuffer, soup_buffer_free)
 
 } // namespace WTF
 
-#endif
+#endif // USE(SOUP)