Changeset 238746 in webkit


Ignore:
Timestamp:
Nov 30, 2018, 11:37:44 AM (6 years ago)
Author:
achristensen@apple.com
Message:

Remove unused WebProcessCreationParameters.uiProcessCookieStorageIdentifier
https://bugs.webkit.org/show_bug.cgi?id=192157

Reviewed by Chris Dumez.

  • Shared/WebProcessCreationParameters.cpp:

(WebKit::WebProcessCreationParameters::encode const):
(WebKit::WebProcessCreationParameters::decode):

  • Shared/WebProcessCreationParameters.h:
  • UIProcess/Cocoa/WebProcessPoolCocoa.mm:

(WebKit::WebProcessPool::platformInitializeWebProcess):

Location:
trunk/Source/WebKit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r238745 r238746  
     12018-11-30  Alex Christensen  <achristensen@webkit.org>
     2
     3        Remove unused WebProcessCreationParameters.uiProcessCookieStorageIdentifier
     4        https://bugs.webkit.org/show_bug.cgi?id=192157
     5
     6        Reviewed by Chris Dumez.
     7
     8        * Shared/WebProcessCreationParameters.cpp:
     9        (WebKit::WebProcessCreationParameters::encode const):
     10        (WebKit::WebProcessCreationParameters::decode):
     11        * Shared/WebProcessCreationParameters.h:
     12        * UIProcess/Cocoa/WebProcessPoolCocoa.mm:
     13        (WebKit::WebProcessPool::platformInitializeWebProcess):
     14
    1152018-11-30  Alex Christensen  <achristensen@webkit.org>
    216
  • trunk/Source/WebKit/Shared/WebProcessCreationParameters.cpp

    r237294 r238746  
    5858    encoder << javaScriptConfigurationDirectory;
    5959    encoder << javaScriptConfigurationDirectoryExtensionHandle;
    60 #if PLATFORM(MAC)
    61     encoder << uiProcessCookieStorageIdentifier;
    62 #endif
    6360#if PLATFORM(IOS_FAMILY)
    6461    encoder << cookieStorageDirectoryExtensionHandle;
     
    221218    parameters.javaScriptConfigurationDirectoryExtensionHandle = WTFMove(*javaScriptConfigurationDirectoryExtensionHandle);
    222219
    223 #if PLATFORM(MAC)
    224     if (!decoder.decode(parameters.uiProcessCookieStorageIdentifier))
    225         return false;
    226 #endif
    227220#if PLATFORM(IOS_FAMILY)
    228221   
  • trunk/Source/WebKit/Shared/WebProcessCreationParameters.h

    r237281 r238746  
    8585    String javaScriptConfigurationDirectory;
    8686    SandboxExtension::Handle javaScriptConfigurationDirectoryExtensionHandle;
    87 #if PLATFORM(MAC)
    88     Vector<uint8_t> uiProcessCookieStorageIdentifier;
    89 #endif
    9087#if PLATFORM(IOS_FAMILY)
    9188    SandboxExtension::Handle cookieStorageDirectoryExtensionHandle;
  • trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm

    r238654 r238746  
    221221    parameters.networkATSContext = adoptCF(_CFNetworkCopyATSContext());
    222222
    223 #if PLATFORM(MAC)
    224     ASSERT(parameters.uiProcessCookieStorageIdentifier.isEmpty());
    225     ASSERT(hasProcessPrivilege(ProcessPrivilege::CanAccessRawCookies));
    226     parameters.uiProcessCookieStorageIdentifier = identifyingDataFromCookieStorage([[NSHTTPCookieStorage sharedHTTPCookieStorage] _cookieStorage]);
    227 #endif
    228223#if ENABLE(MEDIA_STREAM)
    229224    // Allow microphone access if either preference is set because WebRTC requires microphone access.
Note: See TracChangeset for help on using the changeset viewer.