Changeset 213746 in webkit
- Timestamp:
- Mar 10, 2017, 6:12:54 PM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r213732 r213746 1 2017-03-10 Alex Christensen <achristensen@webkit.org> 2 3 Don't compile RemoteNetworkingContext when using NetworkSession 4 https://bugs.webkit.org/show_bug.cgi?id=169497 5 6 Reviewed by Andy Estes. 7 8 RemoteNetworkingContext is only really used because PingHandle requires a NetworkingContext. 9 When using NetworkSession, we use PingLoad instead of PingHandle, so there's no reason to 10 ensure there's a RemoteNetworkingContext corresponding to new private sessions when they're never used. 11 12 * NetworkProcess/NetworkProcess.cpp: 13 (WebKit::NetworkProcess::initializeNetworkProcess): 14 (WebKit::NetworkProcess::ensurePrivateBrowsingSession): 15 * NetworkProcess/RemoteNetworkingContext.h: 16 * NetworkProcess/mac/RemoteNetworkingContext.mm: 17 (WebKit::RemoteNetworkingContext::ensurePrivateBrowsingSession): 18 * NetworkProcess/soup/RemoteNetworkingContextSoup.cpp: Removed. 19 * PlatformGTK.cmake: 20 GTK only uses NetworkSession, so RemoteNetworkingContextSoup is no longer necessary. 21 1 22 2017-03-10 Brent Fulgham <bfulgham@apple.com> 2 23 -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.cpp
r213623 r213746 233 233 setCanHandleHTTPSServerTrustEvaluation(parameters.canHandleHTTPSServerTrustEvaluation); 234 234 235 #if !USE(NETWORK_SESSION) 235 236 // FIXME: instead of handling this here, a message should be sent later (scales to multiple sessions) 236 237 if (parameters.privateBrowsingEnabled) 237 238 RemoteNetworkingContext::ensurePrivateBrowsingSession(SessionID::legacyPrivateSessionID()); 239 #endif 238 240 239 241 if (parameters.shouldUseTestingNetworkSession) … … 288 290 void NetworkProcess::ensurePrivateBrowsingSession(SessionID sessionID) 289 291 { 292 #if !USE(NETWORK_SESSION) 290 293 RemoteNetworkingContext::ensurePrivateBrowsingSession(sessionID); 294 #endif 291 295 } 292 296 -
trunk/Source/WebKit2/NetworkProcess/RemoteNetworkingContext.h
r197563 r213746 25 25 */ 26 26 27 #ifndef RemoteNetworkingContext_h 28 #define RemoteNetworkingContext_h 27 #pragma once 29 28 30 29 #include <WebCore/NetworkingContext.h> 31 30 #include <WebCore/SessionID.h> 31 32 #if !USE(NETWORK_SESSION) 32 33 33 34 namespace WebKit { … … 74 75 } 75 76 76 #endif // RemoteNetworkingContext_h77 #endif -
trunk/Source/WebKit2/NetworkProcess/mac/RemoteNetworkingContext.mm
r213441 r213746 37 37 #import <wtf/MainThread.h> 38 38 39 #if !USE(NETWORK_SESSION) 40 39 41 using namespace WebCore; 40 42 41 43 namespace WebKit { 42 43 44 44 45 RemoteNetworkingContext::~RemoteNetworkingContext() … … 94 95 95 96 NetworkStorageSession::ensurePrivateBrowsingSession(sessionID, base + '.' + String::number(sessionID.sessionID())); 96 97 #if USE(NETWORK_SESSION)98 auto networkSession = NetworkSession::create(sessionID, NetworkProcess::singleton().supplement<LegacyCustomProtocolManager>());99 SessionTracker::setSession(sessionID, WTFMove(networkSession));100 #endif101 97 } 102 98 103 99 } 100 101 #endif -
trunk/Source/WebKit2/PlatformGTK.cmake
r213441 r213746 41 41 NetworkProcess/soup/NetworkProcessSoup.cpp 42 42 NetworkProcess/soup/NetworkSessionSoup.cpp 43 NetworkProcess/soup/RemoteNetworkingContextSoup.cpp44 43 45 44 Platform/IPC/glib/GSocketMonitor.cpp
Note:
See TracChangeset
for help on using the changeset viewer.