| Differences between
and this patch
- a/Source/WebCore/ChangeLog +16 lines
Lines 1-3 a/Source/WebCore/ChangeLog_sec1
1
2013-06-30  Kwang Yul Seo  <skyul@company100.net>
2
3
        [WK2][Soup] Add platform specific stubs for NetworkProcess
4
        https://bugs.webkit.org/show_bug.cgi?id=110115
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        Original patch by Balazs Kelemen <kbalazs@webkit.org>.
9
10
        No new tests since it is not used yet and does not supposed to change behavior anyway.
11
12
        * platform/network/NetworkStorageSession.h:
13
        (WebCore::NetworkStorageSession::isPrivateBrowsingSession):
14
        * platform/network/soup/NetworkStorageSessionSoup.cpp:
15
        (WebCore::NetworkStorageSession::NetworkStorageSession):
16
1
2013-07-02  Radu Stavila  <stavila@adobe.com>
17
2013-07-02  Radu Stavila  <stavila@adobe.com>
2
18
3
        [CSS Regions] Improve implementation of elements in region being flowed to another flow thread
19
        [CSS Regions] Improve implementation of elements in region being flowed to another flow thread
- a/Source/WebKit2/ChangeLog +26 lines
Lines 1-5 a/Source/WebKit2/ChangeLog_sec1
1
2013-06-30  Kwang Yul Seo  <skyul@company100.net>
1
2013-06-30  Kwang Yul Seo  <skyul@company100.net>
2
2
3
        [WK2][Soup] Add platform specific stubs for NetworkProcess
4
        https://bugs.webkit.org/show_bug.cgi?id=110115
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        Original patch by Balazs Kelemen <kbalazs@webkit.org>.
9
10
        * NetworkProcess/gtk/NetworkProcessSoup.cpp: Added.
11
        (WebKit::NetworkProcess::platformInitializeNetworkProcess):
12
        (WebKit::NetworkProcess::platformSetCacheModel):
13
        (WebKit::NetworkProcess::allowSpecificHTTPSCertificateForHost):
14
        Stubs.
15
        (WebKit::NetworkProcess::clearCacheForAllOrigins):
16
        (WebKit::NetworkProcess::platformTerminate):
17
        * NetworkProcess/soup/NetworkResourceLoadSchedulerSoup.cpp: Added.
18
        (WebKit::NetworkResourceLoadScheduler::platformInitializeMaximumHTTPConnectionCountPerHost):
19
        Added platform default based on the comment in ResourceRequestSoup.cpp.
20
        * UIProcess/Network/soup/NetworkProcessProxySoup.cpp: Added.
21
        (WebKit::NetworkProcessProxy::platformGetLaunchOptions):
22
        Stub.
23
        * UIProcess/soup/WebContextSoup.cpp: Added.
24
        (WebKit::WebContext::platformInitializeNetworkProcess):
25
        Stub.
26
27
2013-06-30  Kwang Yul Seo  <skyul@company100.net>
28
3
        [WK2] Port RemoteNetworkingContext for Soup
29
        [WK2] Port RemoteNetworkingContext for Soup
4
        https://bugs.webkit.org/show_bug.cgi?id=110097
30
        https://bugs.webkit.org/show_bug.cgi?id=110097
5
31
- a/Source/WebCore/platform/network/NetworkStorageSession.h +2 lines
Lines 58-63 public: a/Source/WebCore/platform/network/NetworkStorageSession.h_sec1
58
#elif USE(SOUP)
58
#elif USE(SOUP)
59
    void setSoupSession(SoupSession* session) { m_session = session; }
59
    void setSoupSession(SoupSession* session) { m_session = session; }
60
    SoupSession* soupSession() const { return m_session; }
60
    SoupSession* soupSession() const { return m_session; }
61
    bool isPrivateBrowsingSession() const { return m_isPrivate; }
61
#else
62
#else
62
    NetworkStorageSession(NetworkingContext*);
63
    NetworkStorageSession(NetworkingContext*);
63
    ~NetworkStorageSession();
64
    ~NetworkStorageSession();
Lines 73-78 private: a/Source/WebCore/platform/network/NetworkStorageSession.h_sec2
73
#elif USE(SOUP)
74
#elif USE(SOUP)
74
    NetworkStorageSession(SoupSession*);
75
    NetworkStorageSession(SoupSession*);
75
    SoupSession* m_session;
76
    SoupSession* m_session;
77
    bool m_isPrivate;
76
#else
78
#else
77
    RefPtr<NetworkingContext> m_context;
79
    RefPtr<NetworkingContext> m_context;
78
#endif
80
#endif
- a/Source/WebCore/platform/network/soup/NetworkStorageSessionSoup.cpp +1 lines
Lines 35-40 namespace WebCore { a/Source/WebCore/platform/network/soup/NetworkStorageSessionSoup.cpp_sec1
35
35
36
NetworkStorageSession::NetworkStorageSession(SoupSession* session)
36
NetworkStorageSession::NetworkStorageSession(SoupSession* session)
37
    : m_session(session)
37
    : m_session(session)
38
    , m_isPrivate(false)
38
{
39
{
39
}
40
}
40
41
- a/Source/WebKit2/NetworkProcess/soup/NetworkProcessSoup.cpp +64 lines
Line 0 a/Source/WebKit2/NetworkProcess/soup/NetworkProcessSoup.cpp_sec1
1
/*
2
 * Copyright (C) 2013 Apple Inc. All rights reserved.
3
 * Copyright (C) 2013 Comapny 100 Inc.
4
 *
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
7
 * are met:
8
 * 1. Redistributions of source code must retain the above copyright
9
 *    notice, this list of conditions and the following disclaimer.
10
 * 2. Redistributions in binary form must reproduce the above copyright
11
 *    notice, this list of conditions and the following disclaimer in the
12
 *    documentation and/or other materials provided with the distribution.
13
 *
14
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
15
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
16
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
18
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
24
 * THE POSSIBILITY OF SUCH DAMAGE.
25
 */
26
27
#include "config.h"
28
#if ENABLE(NETWORK_PROCESS)
29
#include "NetworkProcess.h"
30
31
#include "NetworkProcessCreationParameters.h"
32
#include <WebCore/NotImplemented.h>
33
34
using namespace WebCore;
35
36
namespace WebKit {
37
38
void NetworkProcess::platformInitializeNetworkProcess(const NetworkProcessCreationParameters&)
39
{
40
}
41
42
void NetworkProcess::platformSetCacheModel(CacheModel)
43
{
44
    notImplemented();
45
}
46
47
void NetworkProcess::allowSpecificHTTPSCertificateForHost(const PlatformCertificateInfo&, const String&)
48
{
49
    notImplemented();
50
}
51
52
void NetworkProcess::clearCacheForAllOrigins(uint32_t cachesToClear)
53
{
54
    notImplemented();
55
}
56
57
void NetworkProcess::platformTerminate()
58
{
59
    notImplemented();
60
}
61
62
} // namespace WebKit
63
64
#endif
- a/Source/WebKit2/NetworkProcess/soup/NetworkResourceLoadSchedulerSoup.cpp +41 lines
Line 0 a/Source/WebKit2/NetworkProcess/soup/NetworkResourceLoadSchedulerSoup.cpp_sec1
1
/*
2
 * Copyright (C) 2013 Apple Inc. All rights reserved.
3
 *
4
 * Redistribution and use in source and binary forms, with or without
5
 * modification, are permitted provided that the following conditions
6
 * are met:
7
 * 1. Redistributions of source code must retain the above copyright
8
 *    notice, this list of conditions and the following disclaimer.
9
 * 2. Redistributions in binary form must reproduce the above copyright
10
 *    notice, this list of conditions and the following disclaimer in the
11
 *    documentation and/or other materials provided with the distribution.
12
 *
13
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
14
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
17
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
18
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
19
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
20
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
21
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23
 * THE POSSIBILITY OF SUCH DAMAGE.
24
 */
25
26
#include "config.h"
27
#if ENABLE(NETWORK_PROCESS)
28
29
#include "NetworkResourceLoadScheduler.h"
30
31
namespace WebKit {
32
33
void NetworkResourceLoadScheduler::platformInitializeMaximumHTTPConnectionCountPerHost()
34
{
35
    static const unsigned unlimitedConnectionCount = 10000;
36
    m_maxRequestsInFlightPerHost = unlimitedConnectionCount;
37
}
38
39
} // namespace WebKit
40
41
#endif
- a/Source/WebKit2/UIProcess/Network/soup/NetworkProcessProxySoup.cpp +39 lines
Line 0 a/Source/WebKit2/UIProcess/Network/soup/NetworkProcessProxySoup.cpp_sec1
1
/*
2
 * Copyright (C) 2012 Apple Inc. All rights reserved.
3
 *
4
 * Redistribution and use in source and binary forms, with or without
5
 * modification, are permitted provided that the following conditions
6
 * are met:
7
 * 1. Redistributions of source code must retain the above copyright
8
 *    notice, this list of conditions and the following disclaimer.
9
 * 2. Redistributions in binary form must reproduce the above copyright
10
 *    notice, this list of conditions and the following disclaimer in the
11
 *    documentation and/or other materials provided with the distribution.
12
 *
13
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
14
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
17
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
18
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
19
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
20
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
21
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23
 * THE POSSIBILITY OF SUCH DAMAGE.
24
 */
25
26
#include "config.h"
27
#if ENABLE(NETWORK_PROCESS)
28
29
#include "NetworkProcessProxy.h"
30
31
namespace WebKit {
32
33
void NetworkProcessProxy::platformGetLaunchOptions(ProcessLauncher::LaunchOptions& launchOptions)
34
{
35
}
36
37
}
38
39
#endif // ENABLE(NETWORK_PROCESS)
- a/Source/WebKit2/UIProcess/soup/WebContextSoup.cpp +40 lines
Line 0 a/Source/WebKit2/UIProcess/soup/WebContextSoup.cpp_sec1
1
/*
2
 * Copyright (C) 2012 Apple Inc. All rights reserved.
3
 *
4
 * Redistribution and use in source and binary forms, with or without
5
 * modification, are permitted provided that the following conditions
6
 * are met:
7
 * 1. Redistributions of source code must retain the above copyright
8
 *    notice, this list of conditions and the following disclaimer.
9
 * 2. Redistributions in binary form must reproduce the above copyright
10
 *    notice, this list of conditions and the following disclaimer in the
11
 *    documentation and/or other materials provided with the distribution.
12
 *
13
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
14
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
17
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
18
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
19
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
20
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
21
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23
 * THE POSSIBILITY OF SUCH DAMAGE.
24
 */
25
26
#include "config.h"
27
#if ENABLE(NETWORK_PROCESS)
28
#include "WebContext.h"
29
30
#include "NetworkProcessCreationParameters.h"
31
32
namespace WebKit {
33
34
void WebContext::platformInitializeNetworkProcess(NetworkProcessCreationParameters&)
35
{
36
}
37
38
}
39
40
#endif

Return to Bug 110115