[WK2][EFL] creating dummy functions for Download class on Efl port.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jan 2012 08:51:02 +0000 (08:51 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jan 2012 08:51:02 +0000 (08:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=75246

dummy functions for Download class on Efl port

Patch by Keunsoon Lee <keunsoon.lee@samsung.com> on 2012-01-05
Reviewed by Hajime Morita.

* PlatformEfl.cmake: add new file to compile
* WebProcess/Downloads/efl: Added.
* WebProcess/Downloads/efl/DownloadEfl.cpp: Added.
(WebKit::Download::start):
(WebKit::Download::startWithHandle):
(WebKit::Download::cancel):
(WebKit::Download::platformInvalidate):
(WebKit::Download::didDecideDestination):
(WebKit::Download::platformDidFinish):
(WebKit::Download::receivedCredential):
(WebKit::Download::receivedRequestToContinueWithoutCredential):
(WebKit::Download::receivedCancellation):
(WebKit::Download::useCredential):
(WebKit::Download::continueWithoutCredential):
(WebKit::Download::cancelAuthenticationChallenge):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@104122 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/PlatformEfl.cmake
Source/WebKit2/WebProcess/Downloads/efl/DownloadEfl.cpp [new file with mode: 0755]

index 94ca74c6d6de1a400c9142f44d7c923aa8f87cbb..cc52451e8e94b0cb2ad45c4ba1f2710de26cb25e 100644 (file)
@@ -1,3 +1,28 @@
+2012-01-05  Keunsoon Lee  <keunsoon.lee@samsung.com>
+
+        [WK2][EFL] creating dummy functions for Download class on Efl port.
+        https://bugs.webkit.org/show_bug.cgi?id=75246
+
+        dummy functions for Download class on Efl port
+
+        Reviewed by Hajime Morita.
+
+        * PlatformEfl.cmake: add new file to compile
+        * WebProcess/Downloads/efl: Added.
+        * WebProcess/Downloads/efl/DownloadEfl.cpp: Added.
+        (WebKit::Download::start):
+        (WebKit::Download::startWithHandle):
+        (WebKit::Download::cancel):
+        (WebKit::Download::platformInvalidate):
+        (WebKit::Download::didDecideDestination):
+        (WebKit::Download::platformDidFinish):
+        (WebKit::Download::receivedCredential):
+        (WebKit::Download::receivedRequestToContinueWithoutCredential):
+        (WebKit::Download::receivedCancellation):
+        (WebKit::Download::useCredential):
+        (WebKit::Download::continueWithoutCredential):
+        (WebKit::Download::cancelAuthenticationChallenge):
+
 2012-01-04  Dan Bernstein  <mitz@apple.com>
 
         Allow WebProcess to launch a client process and become its first WebProcess.
index 3608e71dcd786ee92619d11ef331e14a28c02f56..1591dfbbc2688be15e749d8fc19217da099ee774 100644 (file)
@@ -44,6 +44,8 @@ LIST(APPEND WebKit2_SOURCES
     UIProcess/Plugins/efl/PluginInfoStoreEfl.cpp
     UIProcess/Plugins/efl/PluginProcessProxyEfl.cpp
 
+    WebProcess/Downloads/efl/DownloadEfl.cpp
+
     WebProcess/efl/WebProcessEfl.cpp
     WebProcess/efl/WebProcessMainEfl.cpp
 
@@ -116,7 +118,6 @@ IF (WTF_USE_SOUP)
     LIST(APPEND WebKit2_LIBRARIES ${LIBSOUP24_LIBRARIES})
     LIST(APPEND WebKit2_SOURCES
         WebProcess/Cookies/soup/WebCookieManagerSoup.cpp
-        WebProcess/Downloads/soup/DownloadSoup.cpp
     )
 
     ADD_CUSTOM_TARGET(forwarding-headerSoup
@@ -133,7 +134,6 @@ IF (WTF_USE_CURL)
     LIST(APPEND WebKit2_LIBRARIES ${CURL_LIBRARIES})
     LIST(APPEND WebKit2_SOURCES
         WebProcess/Cookies/curl/WebCookieManagerCurl.cpp
-        WebProcess/Downloads/curl/DownloadCurl.cpp
     )
 ENDIF ()
 
diff --git a/Source/WebKit2/WebProcess/Downloads/efl/DownloadEfl.cpp b/Source/WebKit2/WebProcess/Downloads/efl/DownloadEfl.cpp
new file mode 100755 (executable)
index 0000000..7d098f1
--- /dev/null
@@ -0,0 +1,89 @@
+/*
+ * Copyright (C) 2012 Samsung Electronics
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA  02110-1301, USA.
+ */
+
+#include "config.h"
+#include "Download.h"
+
+#include <WebCore/NotImplemented.h>
+
+using namespace WebCore;
+
+namespace WebKit {
+
+void Download::start(WebPage* initiatingWebPage)
+{
+    notImplemented();
+}
+
+void Download::startWithHandle(WebPage* initiatingPage, ResourceHandle* handle, const ResourceResponse& response)
+{
+    notImplemented();
+}
+
+void Download::cancel()
+{
+    notImplemented();
+}
+
+void Download::platformInvalidate()
+{
+    notImplemented();
+}
+
+void Download::didDecideDestination(const String& destination, bool allowOverwrite)
+{
+    notImplemented();
+}
+
+void Download::platformDidFinish()
+{
+    notImplemented();
+}
+
+void Download::receivedCredential(const AuthenticationChallenge& authenticationChallenge, const Credential& credential)
+{
+    notImplemented();
+}
+
+void Download::receivedRequestToContinueWithoutCredential(const AuthenticationChallenge& authenticationChallenge)
+{
+    notImplemented();
+}
+
+void Download::receivedCancellation(const AuthenticationChallenge& authenticationChallenge)
+{
+    notImplemented();
+}
+
+void Download::useCredential(const WebCore::AuthenticationChallenge& authenticationChallenge, const WebCore::Credential& credential)
+{
+    notImplemented();
+}
+
+void Download::continueWithoutCredential(const WebCore::AuthenticationChallenge& authenticationChallenge)
+{
+    notImplemented();
+}
+
+void Download::cancelAuthenticationChallenge(const WebCore::AuthenticationChallenge& authenticationChallenge)
+{
+    notImplemented();
+}
+
+} // namespace WebKit