Make WKProcessPoolConfiguration SPI
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Mar 2014 23:03:49 +0000 (23:03 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Mar 2014 23:03:49 +0000 (23:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=130537

Reviewed by Tim Horton.

* UIProcess/API/Cocoa/WKProcessPool.h:
* UIProcess/API/Cocoa/WKProcessPool.mm:
(-[WKProcessPool init]):
(-[WKProcessPool dealloc]):
(-[WKProcessPool description]):
(-[WKProcessPool _configuration]):
(-[WKProcessPool API::]):
(-[WKProcessPool _initWithConfiguration:]):
* UIProcess/API/Cocoa/WKProcessPoolConfiguration.h:
* UIProcess/API/Cocoa/WKProcessPoolConfiguration.mm:
(-[WKProcessPoolConfiguration _injectedBundleURL]):
(-[WKProcessPoolConfiguration _setInjectedBundleURL:]):
* UIProcess/API/Cocoa/WKProcessPoolConfigurationPrivate.h:
* UIProcess/API/Cocoa/WKProcessPoolInternal.h:
* UIProcess/API/Cocoa/WKProcessPoolPrivate.h:
* UIProcess/API/Cocoa/WKProcessPoolToBeRemoved.mm: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h.
(-[WKProcessPool initWithConfiguration:]):
(-[WKProcessPool configuration]):
* UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolConfigurationPrivate.h.
* UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolConfiguration.mm.
(-[_WKProcessPoolConfiguration injectedBundleURL]):
(-[_WKProcessPoolConfiguration setInjectedBundleURL:]):
(-[_WKProcessPoolConfiguration description]):
(-[_WKProcessPoolConfiguration copyWithZone:]):
* WebKit2.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@166011 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 files changed:
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.h
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.mm
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolConfiguration.h
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolConfiguration.mm
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolConfigurationPrivate.h
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolInternal.h
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h
Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolToBeRemoved.mm [new file with mode: 0644]
Source/WebKit2/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h [new file with mode: 0644]
Source/WebKit2/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm [new file with mode: 0644]
Source/WebKit2/WebKit2.xcodeproj/project.pbxproj

index 9a3155d..5dd4ba5 100644 (file)
@@ -1,3 +1,36 @@
+2014-03-20  Anders Carlsson  <andersca@apple.com>
+
+        Make WKProcessPoolConfiguration SPI
+        https://bugs.webkit.org/show_bug.cgi?id=130537
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/API/Cocoa/WKProcessPool.h:
+        * UIProcess/API/Cocoa/WKProcessPool.mm:
+        (-[WKProcessPool init]):
+        (-[WKProcessPool dealloc]):
+        (-[WKProcessPool description]):
+        (-[WKProcessPool _configuration]):
+        (-[WKProcessPool API::]):
+        (-[WKProcessPool _initWithConfiguration:]):
+        * UIProcess/API/Cocoa/WKProcessPoolConfiguration.h:
+        * UIProcess/API/Cocoa/WKProcessPoolConfiguration.mm:
+        (-[WKProcessPoolConfiguration _injectedBundleURL]):
+        (-[WKProcessPoolConfiguration _setInjectedBundleURL:]):
+        * UIProcess/API/Cocoa/WKProcessPoolConfigurationPrivate.h:
+        * UIProcess/API/Cocoa/WKProcessPoolInternal.h:
+        * UIProcess/API/Cocoa/WKProcessPoolPrivate.h:
+        * UIProcess/API/Cocoa/WKProcessPoolToBeRemoved.mm: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolPrivate.h.
+        (-[WKProcessPool initWithConfiguration:]):
+        (-[WKProcessPool configuration]):
+        * UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolConfigurationPrivate.h.
+        * UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolConfiguration.mm.
+        (-[_WKProcessPoolConfiguration injectedBundleURL]):
+        (-[_WKProcessPoolConfiguration setInjectedBundleURL:]):
+        (-[_WKProcessPoolConfiguration description]):
+        (-[_WKProcessPoolConfiguration copyWithZone:]):
+        * WebKit2.xcodeproj/project.pbxproj:
+
 2014-03-20  Tim Horton  <timothy_horton@apple.com>
 
         Add WebCore::IOSurface wrapper
index c1f4c7f..8dee8ad 100644 (file)
@@ -28,8 +28,6 @@
 
 #if WK_API_ENABLED
 
-@class WKProcessPoolConfiguration;
-
 /*! A WKProcessPool defines a distinct type-or category-of Web Content process.
  A @link WKWebView @/link specifies the WKProcessPool of the Web
  Content process backing it through its @link WKWebViewConfiguration @/link.
  */
 WK_API_CLASS
 @interface WKProcessPool : NSObject
-
-/*! @abstract A copy of the configuration with which the @link WKProcessPool @/link was
-        initialized.
-*/
-@property (nonatomic, readonly) WKProcessPoolConfiguration *configuration;
-
-/*!
-    @abstract Returns an instance initialized with the specified configuration.
-    @param configuration The configuration for the new instance.
-    @result An initialized instance, or nil if the object could not be initialized.
-    @discussion This is a designated initializer. You can use @link -init @/link to initialize an
-        instance with the default configuration.
-
-        The initializer copies
-        @link //apple_ref/doc/methodparam/WKProcessPool/initWithConfiguration:/configuration
-        configuration@/link, so mutating it after initialization has no effect on the
-        @link WKProcessPool @/link instance.
-*/
-- (instancetype)initWithConfiguration:(WKProcessPoolConfiguration *)configuration WK_DESIGNATED_INITIALIZER;
-
 @end
 
 #endif
index 067a432..e155763 100644 (file)
@@ -62,10 +62,36 @@ enum : NSUInteger {
 
 - (instancetype)init
 {
-    return [self initWithConfiguration:adoptNS([[WKProcessPoolConfiguration alloc] init]).get()];
+    return [self _initWithConfiguration:adoptNS([[_WKProcessPoolConfiguration alloc] init]).get()];
 }
 
-- (instancetype)initWithConfiguration:(WKProcessPoolConfiguration *)configuration
+- (void)dealloc
+{
+    _context->~WebContext();
+
+    [super dealloc];
+}
+
+- (NSString *)description
+{
+    return [NSString stringWithFormat:@"<%@: %p; configuration = %@>", NSStringFromClass(self.class), self, _configuration.get()];
+}
+
+- (_WKProcessPoolConfiguration *)_configuration
+{
+    return [[_configuration copy] autorelease];
+}
+
+- (API::Object&)_apiObject
+{
+    return *_context;
+}
+
+@end
+
+@implementation WKProcessPool (WKPrivate)
+
+- (instancetype)_initWithConfiguration:(_WKProcessPoolConfiguration *)configuration
 {
     if (!(self = [super init]))
         return nil;
@@ -78,7 +104,7 @@ enum : NSUInteger {
 #endif
 
     String bundlePath;
-    if (NSURL *bundleURL = [_configuration _injectedBundleURL]) {
+    if (NSURL *bundleURL = [_configuration injectedBundleURL]) {
         if (!bundleURL.isFileURL)
             [NSException raise:NSInvalidArgumentException format:@"Injected Bundle URL must be a file URL"];
 
@@ -96,32 +122,6 @@ enum : NSUInteger {
     return self;
 }
 
-- (void)dealloc
-{
-    _context->~WebContext();
-
-    [super dealloc];
-}
-
-- (NSString *)description
-{
-    return [NSString stringWithFormat:@"<%@: %p; configuration = %@>", NSStringFromClass(self.class), self, _configuration.get()];
-}
-
-- (WKProcessPoolConfiguration *)configuration
-{
-    return [[_configuration copy] autorelease];
-}
-
-- (API::Object&)_apiObject
-{
-    return *_context;
-}
-
-@end
-
-@implementation WKProcessPool (WKPrivate)
-
 - (void)_setAllowsSpecificHTTPSCertificate:(NSArray *)certificateChain forHost:(NSString *)host
 {
     _context->allowSpecificHTTPSCertificateForHost(WebKit::WebCertificateInfo::create(WebCore::CertificateInfo((CFArrayRef)certificateChain)).get(), host);
index 2c00709..090dfb4 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#import <Foundation/Foundation.h>
-#import <WebKit2/WKFoundation.h>
+#import <WebKit2/_WKProcessPoolConfiguration.h>
 
 #if WK_API_ENABLED
 
-/*! A WKProcessPoolConfiguration is used to characterize a class of Web Content processes.
- @helps Contains properties used to configure a @link WKProcessPool @/link.
- */
+#import <WebKit2/WKProcessPool.h>
+
 WK_API_CLASS
-@interface WKProcessPoolConfiguration : NSObject <NSCopying>
+@interface WKProcessPoolConfiguration : _WKProcessPoolConfiguration
 
-/*! @abstract The maximum number of Web Content processes of the class that may exist at any time.
- @discussion When the number of Web Content processes of the class reaches this value, one of the
- existing processes will be used for any new @link WKWebView @/link configured to use the
- same class.
+@property (nonatomic, copy, setter=_setInjectedBundleURL:) NSURL *_injectedBundleURL;
+
+@end
 
- A value of 0 means that WebKit will automatically choose a maximum. This is the default.
- */
-@property (nonatomic) NSUInteger maximumProcessCount;
+
+@interface WKProcessPool (WKToBeRemoved)
+
+- (instancetype)initWithConfiguration:(WKProcessPoolConfiguration *)configuration;
+
+@property (nonatomic, readonly) WKProcessPoolConfiguration *configuration;
 
 @end
 
 #endif
+
index 967c77b..65b787c 100644 (file)
  */
 
 #import "config.h"
-#import "WKProcessPoolConfigurationPrivate.h"
+#import "WKProcessPoolConfiguration.h"
 
-#if WK_API_ENABLED
-
-#import <wtf/RetainPtr.h>
-
-@implementation WKProcessPoolConfiguration {
-    RetainPtr<NSURL> _injectedBundleURL;
-}
+@implementation WKProcessPoolConfiguration
 
 - (NSURL *)_injectedBundleURL
 {
-    return _injectedBundleURL.get();
+    return self.injectedBundleURL;
 }
 
-- (void)_setInjectedBundleURL:(NSURL *)injectedBundleURL
+- (void)_setInjectedBundleURL:(NSURL *)_injectedBundleURL
 {
-    _injectedBundleURL = adoptNS([injectedBundleURL copy]);
-}
-
-- (NSString *)description
-{
-    NSString *description = [NSString stringWithFormat:@"<%@: %p; maximumProcessCount = %lu", NSStringFromClass(self.class), self, static_cast<unsigned long>(_maximumProcessCount)];
-    if (_injectedBundleURL)
-        return [description stringByAppendingFormat:@"; injectedBundleURL: \"%@\">", _injectedBundleURL.get()];
-
-    return [description stringByAppendingString:@">"];
-}
-
-- (id)copyWithZone:(NSZone *)zone
-{
-    WKProcessPoolConfiguration *configuration = [[[self class] allocWithZone:zone] init];
-
-    configuration.maximumProcessCount = self.maximumProcessCount;
-    configuration._injectedBundleURL = self._injectedBundleURL;
-
-    return configuration;
+    self.injectedBundleURL = _injectedBundleURL;
 }
 
 @end
-
-#endif
index 47d3f23..a7a6320 100644 (file)
  */
 
 #import <WebKit2/WKProcessPoolConfiguration.h>
-
-#if WK_API_ENABLED
-
-@interface WKProcessPoolConfiguration (WKPrivate)
-
-/*! @abstract The location of a bundle that will be loaded into Web Content processes of the
- class.
- */
-@property (nonatomic, copy, setter=_setInjectedBundleURL:) NSURL *_injectedBundleURL;
-
-@end
-
-#endif
index cf5c505..e69f6eb 100644 (file)
@@ -42,7 +42,7 @@ inline WKProcessPool *wrapper(WebContext& context)
 
 @interface WKProcessPool () <WKObject> {
 @package
-    RetainPtr<WKProcessPoolConfiguration> _configuration;
+    RetainPtr<_WKProcessPoolConfiguration> _configuration;
 
     API::ObjectStorage<WebKit::WebContext> _context;
 }
index 98a6fdd..ba12ce8 100644 (file)
 
 #if WK_API_ENABLED
 
+@class _WKProcessPoolConfiguration;
+
 @interface WKProcessPool (WKPrivate)
 
+- (instancetype)_initWithConfiguration:(_WKProcessPoolConfiguration *)configuration WK_DESIGNATED_INITIALIZER;
+
+@property (nonatomic, readonly) _WKProcessPoolConfiguration *_configuration;
+
 - (void)_setAllowsSpecificHTTPSCertificate:(NSArray *)certificateChain forHost:(NSString *)host;
 - (void)_setCookieAcceptPolicy:(NSHTTPCookieAcceptPolicy)policy;
 
diff --git a/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolToBeRemoved.mm b/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPoolToBeRemoved.mm
new file mode 100644 (file)
index 0000000..65c17f3
--- /dev/null
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "WKProcessPoolPrivate.h"
+
+#if WK_API_ENABLED
+
+#import "WKProcessPoolConfiguration.h"
+
+@implementation WKProcessPool (WKToBeRemoved)
+
+- (instancetype)initWithConfiguration:(WKProcessPoolConfiguration *)configuration
+{
+    return [self _initWithConfiguration:configuration];
+}
+
+- (WKProcessPoolConfiguration *)configuration
+{
+    return (WKProcessPoolConfiguration *)self._configuration;
+}
+
+@end
+
+#endif
diff --git a/Source/WebKit2/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h b/Source/WebKit2/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.h
new file mode 100644 (file)
index 0000000..477fe74
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <Foundation/Foundation.h>
+#import <WebKit2/WKFoundation.h>
+
+#if WK_API_ENABLED
+
+WK_API_CLASS
+@interface _WKProcessPoolConfiguration : NSObject <NSCopying>
+
+@property (nonatomic, copy) NSURL *injectedBundleURL;
+@property (nonatomic) NSUInteger maximumProcessCount;
+
+@end
+
+#endif
diff --git a/Source/WebKit2/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm b/Source/WebKit2/UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm
new file mode 100644 (file)
index 0000000..0e0b589
--- /dev/null
@@ -0,0 +1,68 @@
+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "WKProcessPoolConfigurationPrivate.h"
+
+#if WK_API_ENABLED
+
+#import <wtf/RetainPtr.h>
+
+@implementation _WKProcessPoolConfiguration {
+    RetainPtr<NSURL> _injectedBundleURL;
+}
+
+- (NSURL *)injectedBundleURL
+{
+    return _injectedBundleURL.get();
+}
+
+- (void)setInjectedBundleURL:(NSURL *)injectedBundleURL
+{
+    _injectedBundleURL = adoptNS([injectedBundleURL copy]);
+}
+
+- (NSString *)description
+{
+    NSString *description = [NSString stringWithFormat:@"<%@: %p; maximumProcessCount = %lu", NSStringFromClass(self.class), self, static_cast<unsigned long>(_maximumProcessCount)];
+    if (_injectedBundleURL)
+        return [description stringByAppendingFormat:@"; injectedBundleURL: \"%@\">", _injectedBundleURL.get()];
+
+    return [description stringByAppendingString:@">"];
+}
+
+- (id)copyWithZone:(NSZone *)zone
+{
+    _WKProcessPoolConfiguration *configuration = [[[self class] allocWithZone:zone] init];
+
+    configuration.maximumProcessCount = self.maximumProcessCount;
+    configuration.injectedBundleURL = self.injectedBundleURL;
+
+    return configuration;
+}
+
+@end
+
+#endif
index 1c12b53..8df6151 100644 (file)
                1A1B0EB518A424950038481A /* WKNavigationResponse.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A1B0EB318A424950038481A /* WKNavigationResponse.mm */; };
                1A1B0EB618A424950038481A /* WKNavigationResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A1B0EB418A424950038481A /* WKNavigationResponse.h */; settings = {ATTRIBUTES = (Public, ); }; };
                1A1B0EB818A424CD0038481A /* WKNavigationResponseInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A1B0EB718A424CD0038481A /* WKNavigationResponseInternal.h */; };
+               1A1B748B18DA576D00047E02 /* WKProcessPoolConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A1B748A18DA576D00047E02 /* WKProcessPoolConfiguration.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               1A1B748D18DA577600047E02 /* WKProcessPoolConfigurationPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A1B748C18DA577600047E02 /* WKProcessPoolConfigurationPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               1A1B748F18DA5A3900047E02 /* WKProcessPoolConfiguration.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A1B748E18DA5A3900047E02 /* WKProcessPoolConfiguration.mm */; };
+               1A1B749218DA5D9F00047E02 /* WKProcessPoolToBeRemoved.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A1B749018DA5D9F00047E02 /* WKProcessPoolToBeRemoved.mm */; };
                1A1C649B11F4174200553C19 /* WebContextMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A1C648611F415B700553C19 /* WebContextMac.mm */; };
                1A1D8BA11731A36300141DA4 /* LocalStorageDatabase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A1D8B9F1731A36300141DA4 /* LocalStorageDatabase.cpp */; };
                1A1D8BA21731A36300141DA4 /* LocalStorageDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A1D8BA01731A36300141DA4 /* LocalStorageDatabase.h */; };
                1A422F8E18B29C6400D8CD96 /* HistoryClient.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A422F8C18B29C6400D8CD96 /* HistoryClient.mm */; };
                1A422F8F18B29C6400D8CD96 /* HistoryClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A422F8D18B29C6400D8CD96 /* HistoryClient.h */; };
                1A433F0D113C53DD00FACDE9 /* WebErrors.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A433F0C113C53DD00FACDE9 /* WebErrors.h */; };
-               1A43E829188F3CDC009E4D30 /* WKProcessPoolConfiguration.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A43E827188F3CDC009E4D30 /* WKProcessPoolConfiguration.mm */; };
-               1A43E82A188F3CDC009E4D30 /* WKProcessPoolConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A43E828188F3CDC009E4D30 /* WKProcessPoolConfiguration.h */; settings = {ATTRIBUTES = (Public, ); }; };
-               1A43E82C188F3CF5009E4D30 /* WKProcessPoolConfigurationPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A43E82B188F3CF5009E4D30 /* WKProcessPoolConfigurationPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               1A43E829188F3CDC009E4D30 /* _WKProcessPoolConfiguration.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A43E827188F3CDC009E4D30 /* _WKProcessPoolConfiguration.mm */; };
+               1A43E82A188F3CDC009E4D30 /* _WKProcessPoolConfiguration.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A43E828188F3CDC009E4D30 /* _WKProcessPoolConfiguration.h */; settings = {ATTRIBUTES = (Private, ); }; };
                1A445B9F184D5FB5004B3414 /* WKContextInjectedBundleClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A445B9E184D5FB5004B3414 /* WKContextInjectedBundleClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
                1A445BA1184D5FC1004B3414 /* WKContextHistoryClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A445BA0184D5FC1004B3414 /* WKContextHistoryClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
                1A445BA3184D5FCF004B3414 /* WKContextDownloadClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A445BA2184D5FCF004B3414 /* WKContextDownloadClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
                1A1B0EB318A424950038481A /* WKNavigationResponse.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKNavigationResponse.mm; sourceTree = "<group>"; };
                1A1B0EB418A424950038481A /* WKNavigationResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKNavigationResponse.h; sourceTree = "<group>"; };
                1A1B0EB718A424CD0038481A /* WKNavigationResponseInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKNavigationResponseInternal.h; sourceTree = "<group>"; };
+               1A1B748A18DA576D00047E02 /* WKProcessPoolConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKProcessPoolConfiguration.h; sourceTree = "<group>"; };
+               1A1B748C18DA577600047E02 /* WKProcessPoolConfigurationPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKProcessPoolConfigurationPrivate.h; sourceTree = "<group>"; };
+               1A1B748E18DA5A3900047E02 /* WKProcessPoolConfiguration.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKProcessPoolConfiguration.mm; sourceTree = "<group>"; };
+               1A1B749018DA5D9F00047E02 /* WKProcessPoolToBeRemoved.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKProcessPoolToBeRemoved.mm; sourceTree = "<group>"; };
                1A1C648611F415B700553C19 /* WebContextMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebContextMac.mm; sourceTree = "<group>"; };
                1A1D8B9F1731A36300141DA4 /* LocalStorageDatabase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LocalStorageDatabase.cpp; sourceTree = "<group>"; };
                1A1D8BA01731A36300141DA4 /* LocalStorageDatabase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LocalStorageDatabase.h; sourceTree = "<group>"; };
                1A422F8C18B29C6400D8CD96 /* HistoryClient.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = HistoryClient.mm; sourceTree = "<group>"; };
                1A422F8D18B29C6400D8CD96 /* HistoryClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HistoryClient.h; sourceTree = "<group>"; };
                1A433F0C113C53DD00FACDE9 /* WebErrors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebErrors.h; sourceTree = "<group>"; };
-               1A43E827188F3CDC009E4D30 /* WKProcessPoolConfiguration.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKProcessPoolConfiguration.mm; sourceTree = "<group>"; };
-               1A43E828188F3CDC009E4D30 /* WKProcessPoolConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKProcessPoolConfiguration.h; sourceTree = "<group>"; };
-               1A43E82B188F3CF5009E4D30 /* WKProcessPoolConfigurationPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKProcessPoolConfigurationPrivate.h; sourceTree = "<group>"; };
+               1A43E827188F3CDC009E4D30 /* _WKProcessPoolConfiguration.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = _WKProcessPoolConfiguration.mm; sourceTree = "<group>"; };
+               1A43E828188F3CDC009E4D30 /* _WKProcessPoolConfiguration.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = _WKProcessPoolConfiguration.h; sourceTree = "<group>"; };
                1A445B9E184D5FB5004B3414 /* WKContextInjectedBundleClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKContextInjectedBundleClient.h; sourceTree = "<group>"; };
                1A445BA0184D5FC1004B3414 /* WKContextHistoryClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKContextHistoryClient.h; sourceTree = "<group>"; };
                1A445BA2184D5FCF004B3414 /* WKContextDownloadClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKContextDownloadClient.h; sourceTree = "<group>"; };
                        path = mac;
                        sourceTree = "<group>";
                };
+               1A1B748918DA55FD00047E02 /* To Be Removed */ = {
+                       isa = PBXGroup;
+                       children = (
+                               1A1B748A18DA576D00047E02 /* WKProcessPoolConfiguration.h */,
+                               1A1B748C18DA577600047E02 /* WKProcessPoolConfigurationPrivate.h */,
+                               1A1B748E18DA5A3900047E02 /* WKProcessPoolConfiguration.mm */,
+                               1A1B749018DA5D9F00047E02 /* WKProcessPoolToBeRemoved.mm */,
+                       );
+                       name = "To Be Removed";
+                       sourceTree = "<group>";
+               };
                1A43E826188F38E2009E4D30 /* Deprecated */ = {
                        isa = PBXGroup;
                        children = (
                37C4C08318149C2A003688B9 /* Cocoa */ = {
                        isa = PBXGroup;
                        children = (
+                               1A1B748918DA55FD00047E02 /* To Be Removed */,
                                1A43E826188F38E2009E4D30 /* Deprecated */,
                                37A5E01218BBF937000A081E /* _WKActivatedElementInfo.h */,
                                37A5E01118BBF937000A081E /* _WKActivatedElementInfo.mm */,
                                379A873818BBFE0F00588AF2 /* _WKElementAction.h */,
                                379A873718BBFE0F00588AF2 /* _WKElementAction.mm */,
                                379A873B18BBFF0700588AF2 /* _WKElementActionInternal.h */,
+                               1A43E828188F3CDC009E4D30 /* _WKProcessPoolConfiguration.h */,
+                               1A43E827188F3CDC009E4D30 /* _WKProcessPoolConfiguration.mm */,
                                1A81B37F18BD66AD0007FDAC /* _WKVisitedLinkProvider.h */,
                                1A81B37E18BD66AD0007FDAC /* _WKVisitedLinkProvider.mm */,
                                1A81B38418BD673A0007FDAC /* _WKVisitedLinkProviderInternal.h */,
                                1A158418189044F50017616C /* WKProcessPool.h */,
                                1A158417189044F50017616C /* WKProcessPool.mm */,
                                1A6509CD18B4146200614332 /* WKProcessPoolPrivate.h */,
-                               1A43E828188F3CDC009E4D30 /* WKProcessPoolConfiguration.h */,
-                               1A43E827188F3CDC009E4D30 /* WKProcessPoolConfiguration.mm */,
-                               1A43E82B188F3CF5009E4D30 /* WKProcessPoolConfigurationPrivate.h */,
                                1A3CC16818907EB0001E6ED8 /* WKProcessPoolInternal.h */,
                                1AD8790918B6C38A006CAFD7 /* WKUIDelegate.h */,
                                3743925718BC4C60001C8675 /* WKUIDelegatePrivate.h */,
                                7CA254EB182993CE00FC8A41 /* WKBrowsingContextPolicyDelegate.h in Headers */,
                                37C4C08718149C5B003688B9 /* WKBackForwardListItem.h in Headers */,
                                1F335BC0185B84F0001A201A /* WKWebProcessPlugInLoadDelegate.h in Headers */,
-                               1A43E82C188F3CF5009E4D30 /* WKProcessPoolConfigurationPrivate.h in Headers */,
                                1F7506B41859164C00EC0FF7 /* WKWebProcessPlugInScriptWorld.h in Headers */,
-                               1A43E82A188F3CDC009E4D30 /* WKProcessPoolConfiguration.h in Headers */,
+                               1A43E82A188F3CDC009E4D30 /* _WKProcessPoolConfiguration.h in Headers */,
                                1F7506B31859164500EC0FF7 /* WKWebProcessPlugInNodeHandle.h in Headers */,
                                377EAD4517E2C51A002D193D /* WKDeclarationSpecifiers.h in Headers */,
                                1FB00AC7185F76460019142E /* WKWebProcessPlugInPageGroup.h in Headers */,
                                BC39C4361626366F008BC689 /* WKDOMRange.h in Headers */,
                                293EBEAB1627D9C9005F89F1 /* WKDOMText.h in Headers */,
                                BC017D2116263308007054F5 /* WKDOMTextIterator.h in Headers */,
+                               1A1B748B18DA576D00047E02 /* WKProcessPoolConfiguration.h in Headers */,
                                37DFA7001810BB92001F4A9F /* WKFoundation.h in Headers */,
                                1ABC3DF11899C6B6004F0626 /* WKNavigationInternal.h in Headers */,
                                0F0C365A18C0555800F607D7 /* LayerRepresentation.h in Headers */,
                                1A3D610213A7CC2A00F95D4E /* PluginModuleInfo.h in Headers */,
                                1A043976124D034800FFBFB5 /* PluginProcess.h in Headers */,
                                1AC5FFC2174BFD1B0001483D /* PluginProcessAttributes.h in Headers */,
+                               1A1B748D18DA577600047E02 /* WKProcessPoolConfigurationPrivate.h in Headers */,
                                1A0EC906124C0AB8007EF4A5 /* PluginProcessConnection.h in Headers */,
                                1A0EC90F124C0AF5007EF4A5 /* PluginProcessConnectionManager.h in Headers */,
                                1A7865BA16CAC71500ACE83A /* PluginProcessConnectionManagerMessages.h in Headers */,
                                1A4D664B18A3030E00D82E21 /* WKFrameInfo.mm in Sources */,
                                2D28F3E51885CCC1004B9EAE /* WebDatabaseManagerIOS.mm in Sources */,
                                51B15A8413843A3900321AD8 /* EnvironmentUtilities.cpp in Sources */,
-                               1A43E829188F3CDC009E4D30 /* WKProcessPoolConfiguration.mm in Sources */,
+                               1A43E829188F3CDC009E4D30 /* _WKProcessPoolConfiguration.mm in Sources */,
                                1A7C6CDA1378950800B9C04D /* EnvironmentVariables.cpp in Sources */,
                                1AA575FA1496B52600A4EE06 /* EventDispatcher.cpp in Sources */,
                                1A9E328A1821636900F5D04C /* WKRemoteObjectRegistry.mm in Sources */,
                                BC8ACA1416670D89004C1941 /* ObjCObjectGraph.mm in Sources */,
                                BC8ACA1616670D89004C1941 /* ObjCObjectGraphCoders.mm in Sources */,
                                1AF4CEEF18BC481800BC2D34 /* VisitedLinkTableController.cpp in Sources */,
+                               1A1B749218DA5D9F00047E02 /* WKProcessPoolToBeRemoved.mm in Sources */,
                                2DA9449F1884E4F000ED86DB /* NativeWebTouchEventIOS.mm in Sources */,
                                BCCF673312C7F15C008F9C35 /* OriginAndDatabases.cpp in Sources */,
                                51E351F5180F5C7500E53BE9 /* WebIDBFactoryBackend.cpp in Sources */,
                                BC20528211C94284008F3375 /* WKBundlePage.cpp in Sources */,
                                7CF47FF617275B71008ACB91 /* WKBundlePageBanner.cpp in Sources */,
                                37C4C08C1814AC5C003688B9 /* WKBackForwardList.mm in Sources */,
+                               1A1B748F18DA5A3900047E02 /* WKProcessPoolConfiguration.mm in Sources */,
                                7CF47FFE17276AE3008ACB91 /* WKBundlePageBannerMac.mm in Sources */,
                                BC7B633E12A45D1200D174A4 /* WKBundlePageGroup.cpp in Sources */,
                                EDCA71B7128DDA8C00201B26 /* WKBundlePageOverlay.cpp in Sources */,