Changeset 233807 in webkit
- Timestamp:
- Jul 13, 2018 11:28:09 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r233804 r233807 1 2018-07-13 Christopher Reid <chris.reid@sony.com> 2 3 [WinCairo] Add windows storage process connection implementation 4 https://bugs.webkit.org/show_bug.cgi?id=187531 5 6 Reviewed by Fujii Hironori. 7 8 * NetworkProcess/NetworkProcess.cpp: 9 * Platform/IPC/Attachment.h: 10 * StorageProcess/StorageProcess.cpp: 11 * UIProcess/Storage/StorageProcessProxy.cpp: 12 1 13 2018-07-13 Dan Bernstein <mitz@apple.com> 2 14 -
trunk/Source/WebKit/NetworkProcess/NetworkProcess.cpp
r233788 r233807 340 340 #elif OS(WINDOWS) 341 341 IPC::Connection::Identifier serverIdentifier, clientIdentifier; 342 if (!IPC::Connection::createServerAndClientIdentifiers(serverIdentifier, clientIdentifier)) 343 return; 342 if (!IPC::Connection::createServerAndClientIdentifiers(serverIdentifier, clientIdentifier)) { 343 LOG_ERROR("Failed to create server and client identifiers"); 344 CRASH(); 345 } 344 346 345 347 auto connection = NetworkConnectionToWebProcess::create(serverIdentifier); -
trunk/Source/WebKit/Platform/IPC/Attachment.h
r232639 r233807 83 83 mach_msg_type_name_t disposition() const { return m_disposition; } 84 84 #elif OS(WINDOWS) 85 HANDLE handle() { return m_handle; }85 HANDLE handle() const { return m_handle; } 86 86 #endif 87 87 -
trunk/Source/WebKit/StorageProcess/StorageProcess.cpp
r233598 r233807 263 263 IPC::Attachment clientPort(listeningPort, MACH_MSG_TYPE_MAKE_SEND); 264 264 parentProcessConnection()->send(Messages::StorageProcessProxy::DidCreateStorageToWebProcessConnection(clientPort), 0); 265 #elif OS(WINDOWS) 266 IPC::Connection::Identifier serverIdentifier, clientIdentifier; 267 if (!IPC::Connection::createServerAndClientIdentifiers(serverIdentifier, clientIdentifier)) { 268 LOG_ERROR("Failed to create server and client identifiers"); 269 CRASH(); 270 } 271 272 auto connection = StorageToWebProcessConnection::create(serverIdentifier); 273 m_storageToWebProcessConnections.append(WTFMove(connection)); 274 275 IPC::Attachment clientSocket(clientIdentifier); 276 parentProcessConnection()->send(Messages::StorageProcessProxy::DidCreateStorageToWebProcessConnection(clientSocket), 0); 265 277 #else 266 278 notImplemented(); -
trunk/Source/WebKit/UIProcess/Storage/StorageProcessProxy.cpp
r233562 r233807 164 164 #elif OS(DARWIN) 165 165 reply(IPC::Attachment(0, MACH_MSG_TYPE_MOVE_SEND)); 166 #elif OS(WINDOWS) 167 reply(IPC::Attachment()); 166 168 #else 167 169 notImplemented(); … … 196 198 #elif OS(DARWIN) 197 199 reply(IPC::Attachment(connectionIdentifier.port(), MACH_MSG_TYPE_MOVE_SEND)); 200 #elif OS(WINDOWS) 201 reply(connectionIdentifier.handle()); 198 202 #else 199 203 notImplemented();
Note: See TracChangeset
for help on using the changeset viewer.