[EFL][WK2] Add missing files to build webkit2/Efl.
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Apr 2012 05:46:55 +0000 (05:46 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Apr 2012 05:46:55 +0000 (05:46 +0000)
https://bugs.webkit.org/show_bug.cgi?id=76139

Reviewed by Ryosuke Niwa.

Add missing files needed to build webkit2/Efl.

* Shared/efl/PlatformCertificateInfo.h: Added.
(WebKit):
(PlatformCertificateInfo):
(WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
(WebKit::PlatformCertificateInfo::encode):
(WebKit::PlatformCertificateInfo::decode):
* UIProcess/Launcher/efl/ThreadLauncherEfl.cpp: Added.
(WebKit):
(WebKit::ThreadLauncher::createWebThread):

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

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/efl/PlatformCertificateInfo.h [new file with mode: 0644]
Source/WebKit2/UIProcess/Launcher/efl/ThreadLauncherEfl.cpp [new file with mode: 0644]

index 72b233c..86f03b4 100644 (file)
@@ -1,3 +1,22 @@
+2012-04-16  Ryuan Choi  <ryuan.choi@samsung.com>
+
+        [EFL][WK2] Add missing files to build webkit2/Efl.
+        https://bugs.webkit.org/show_bug.cgi?id=76139
+
+        Reviewed by Ryosuke Niwa.
+
+        Add missing files needed to build webkit2/Efl.
+
+        * Shared/efl/PlatformCertificateInfo.h: Added.
+        (WebKit):
+        (PlatformCertificateInfo):
+        (WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
+        (WebKit::PlatformCertificateInfo::encode):
+        (WebKit::PlatformCertificateInfo::decode):
+        * UIProcess/Launcher/efl/ThreadLauncherEfl.cpp: Added.
+        (WebKit):
+        (WebKit::ThreadLauncher::createWebThread):
+
 2012-04-16  Brady Eidson  <beidson@apple.com>
 
         Followup to http://trac.webkit.org/changeset/114323
diff --git a/Source/WebKit2/Shared/efl/PlatformCertificateInfo.h b/Source/WebKit2/Shared/efl/PlatformCertificateInfo.h
new file mode 100644 (file)
index 0000000..34771b7
--- /dev/null
@@ -0,0 +1,51 @@
+/*
+   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; see the file COPYING.LIB.  If not, write to
+    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+    Boston, MA 02110-1301, USA.
+*/
+
+#ifndef PlatformCertificateInfo_h
+#define PlatformCertificateInfo_h
+
+#include "ArgumentDecoder.h"
+#include "ArgumentEncoder.h"
+#include <WebCore/ResourceResponse.h>
+
+namespace WebKit {
+
+class PlatformCertificateInfo {
+public:
+    PlatformCertificateInfo()
+    {
+    }
+
+    explicit PlatformCertificateInfo(const WebCore::ResourceResponse&)
+    {
+    }
+
+    void encode(CoreIPC::ArgumentEncoder*) const
+    {
+    }
+
+    static bool decode(CoreIPC::ArgumentDecoder*, PlatformCertificateInfo&)
+    {
+        return true;
+    }
+};
+
+} // namespace WebKit
+
+#endif // PlatformCertificateInfo_h
diff --git a/Source/WebKit2/UIProcess/Launcher/efl/ThreadLauncherEfl.cpp b/Source/WebKit2/UIProcess/Launcher/efl/ThreadLauncherEfl.cpp
new file mode 100644 (file)
index 0000000..47e1fd6
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+   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; see the file COPYING.LIB.  If not, write to
+    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+    Boston, MA 02110-1301, USA.
+*/
+
+#include "config.h"
+#include "ThreadLauncher.h"
+
+#include <WebCore/NotImplemented.h>
+
+namespace WebKit {
+
+CoreIPC::Connection::Identifier ThreadLauncher::createWebThread()
+{
+    notImplemented();
+    return -1;
+}
+
+} // namespace WebKit