| Differences between
and this patch
- a/Source/WebCore/ChangeLog +15 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 is not supposed to change behavior anyway.
11
12
        * platform/network/NetworkStorageSession.h:
13
        (WebCore::NetworkStorageSession::isPrivateBrowsingSession):
14
        Removed the platform guards and make it return false for non Mac ports.
15
1
2013-07-02  Radu Stavila  <stavila@adobe.com>
16
2013-07-02  Radu Stavila  <stavila@adobe.com>
2
17
3
        [CSS Regions] Improve implementation of elements in region being flowed to another flow thread
18
        [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 +9 lines
Lines 50-55 public: a/Source/WebCore/platform/network/NetworkStorageSession.h_sec1
50
50
51
    static void switchToNewTestingSession();
51
    static void switchToNewTestingSession();
52
52
53
    bool isPrivateBrowsingSession() const
54
    {
55
#if PLATFORM(MAC) || USE(CFNETWORK)
56
        return m_isPrivate;
57
#else
58
        return false;
59
#endif
60
    }
61
53
#if PLATFORM(MAC) || USE(CFNETWORK)
62
#if PLATFORM(MAC) || USE(CFNETWORK)
54
    // May be null, in which case a Foundation default should be used.
63
    // May be null, in which case a Foundation default should be used.
55
    CFURLStorageSessionRef platformSession() { return m_platformSession.get(); }
64
    CFURLStorageSessionRef platformSession() { return m_platformSession.get(); }
- 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 +46 lines
Line 0 a/Source/WebKit2/NetworkProcess/soup/NetworkResourceLoadSchedulerSoup.cpp_sec1
1
/*
2
 * Copyright (C) 2013 Apple Inc. All rights reserved.
3
 * Copyright (C) 2013 Company 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
30
#include "NetworkResourceLoadScheduler.h"
31
32
namespace WebKit {
33
34
void NetworkResourceLoadScheduler::platformInitializeMaximumHTTPConnectionCountPerHost()
35
{
36
    // Soup has its own queue control; it wants to have all requests
37
    // given to it, so that it is able to look ahead, and schedule
38
    // them in a good way.
39
    // See also ResourceRequestSoup.cpp
40
    static const unsigned unlimitedConnectionCount = 10000;
41
    m_maxRequestsInFlightPerHost = unlimitedConnectionCount;
42
}
43
44
} // namespace WebKit
45
46
#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