Diff
Modified: trunk/Source/WebKit/ChangeLog (221790 => 221791)
--- trunk/Source/WebKit/ChangeLog 2017-09-08 18:45:06 UTC (rev 221790)
+++ trunk/Source/WebKit/ChangeLog 2017-09-08 18:46:34 UTC (rev 221791)
@@ -1,3 +1,17 @@
+2017-09-08 Stephan Szabo <[email protected]>
+
+ [WinCairo] Add Storage Process files for wincairo webkit
+ https://bugs.webkit.org/show_bug.cgi?id=176567
+
+ Reviewed by Alex Christensen.
+
+ * PlatformWin.cmake:
+ * StorageProcess/EntryPoint/win/StorageProcessMain.cpp: Added.
+ (main):
+ * StorageProcess/win/StorageProcessMainWin.cpp: Added.
+ (WebKit::StorageProcessMainWin):
+ * StorageProcess/win/StorageProcessMainWin.h: Added.
+
2017-09-08 Ryan Haddad <[email protected]>
Unreviewed, rolling out r221771.
Modified: trunk/Source/WebKit/PlatformWin.cmake (221790 => 221791)
--- trunk/Source/WebKit/PlatformWin.cmake 2017-09-08 18:45:06 UTC (rev 221790)
+++ trunk/Source/WebKit/PlatformWin.cmake 2017-09-08 18:46:34 UTC (rev 221791)
@@ -16,6 +16,8 @@
NetworkProcess/win/NetworkProcessMainWin.cpp
NetworkProcess/win/SystemProxyWin.cpp
+
+ StorageProcess/win/StorageProcessMainWin.cpp
)
# DerivedSources/_javascript_Core/inspector/InspectorBackendCommands.js is
@@ -67,6 +69,7 @@
)
list(APPEND StorageProcess_SOURCES
+ StorageProcess/EntryPoint/win/StorageProcessMain.cpp
)
if (${ENABLE_PLUGIN_PROCESS})
Added: trunk/Source/WebKit/StorageProcess/EntryPoint/win/StorageProcessMain.cpp (0 => 221791)
--- trunk/Source/WebKit/StorageProcess/EntryPoint/win/StorageProcessMain.cpp (rev 0)
+++ trunk/Source/WebKit/StorageProcess/EntryPoint/win/StorageProcessMain.cpp 2017-09-08 18:46:34 UTC (rev 221791)
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2017 Sony Interactive Entertainment Inc.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "StorageProcessMainWin.h"
+
+using namespace WebKit;
+
+int main(int argc, char** argv)
+{
+ return StorageProcessMainWin(argc, argv);
+}
Added: trunk/Source/WebKit/StorageProcess/win/StorageProcessMainWin.cpp (0 => 221791)
--- trunk/Source/WebKit/StorageProcess/win/StorageProcessMainWin.cpp (rev 0)
+++ trunk/Source/WebKit/StorageProcess/win/StorageProcessMainWin.cpp 2017-09-08 18:46:34 UTC (rev 221791)
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2017 Sony Interactive Entertainment Inc.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "StorageProcessMainWin.h"
+
+#include "ChildProcessMain.h"
+#include "StorageProcess.h"
+
+namespace WebKit {
+
+int StorageProcessMainWin(int argc, char** argv)
+{
+ return ChildProcessMain<StorageProcess, ChildProcessMainBase>(argc, argv);
+}
+
+} // namespace WebKit
Added: trunk/Source/WebKit/StorageProcess/win/StorageProcessMainWin.h (0 => 221791)
--- trunk/Source/WebKit/StorageProcess/win/StorageProcessMainWin.h (rev 0)
+++ trunk/Source/WebKit/StorageProcess/win/StorageProcessMainWin.h 2017-09-08 18:46:34 UTC (rev 221791)
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2017 Sony Interactive Entertainment Inc.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+#include <WebKit/WKBase.h>
+
+namespace WebKit {
+
+extern "C" {
+WK_EXPORT int StorageProcessMainWin(int argc, char** argv);
+}
+
+} // namespace WebKit