| Index: Source/core/workers/WorkerThreadStartupData.h
|
| diff --git a/Source/core/workers/WorkerThreadStartupData.h b/Source/core/workers/WorkerThreadStartupData.h
|
| index c1b13d703b78729c32c75eb9c8f345c9f9523832..e10ab87d4ae767fc2c3a88249cac57d6eb263925 100644
|
| --- a/Source/core/workers/WorkerThreadStartupData.h
|
| +++ b/Source/core/workers/WorkerThreadStartupData.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "core/frame/ContentSecurityPolicy.h"
|
| #include "core/workers/WorkerClients.h"
|
| +#include "core/workers/WorkerSettings.h"
|
| #include "core/workers/WorkerThread.h"
|
| #include "platform/weborigin/KURL.h"
|
| #include "wtf/Forward.h"
|
| @@ -45,9 +46,9 @@ class WorkerClients;
|
| struct WorkerThreadStartupData {
|
| WTF_MAKE_NONCOPYABLE(WorkerThreadStartupData); WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| - static PassOwnPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients> workerClients)
|
| + static PassOwnPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients> workerClients, PassOwnPtr<WorkerSettings> workerSettings)
|
| {
|
| - return adoptPtr(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode, contentSecurityPolicy, contentSecurityPolicyType, workerClients));
|
| + return adoptPtr(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode, contentSecurityPolicy, contentSecurityPolicyType, workerClients, workerSettings));
|
| }
|
|
|
| ~WorkerThreadStartupData();
|
| @@ -59,9 +60,10 @@ public:
|
| String m_contentSecurityPolicy;
|
| ContentSecurityPolicy::HeaderType m_contentSecurityPolicyType;
|
| OwnPtr<WorkerClients> m_workerClients;
|
| + OwnPtr<WorkerSettings> m_workerSettings;
|
|
|
| private:
|
| - WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients>);
|
| + WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients>, PassOwnPtr<WorkerSettings>);
|
| };
|
|
|
| } // namespace WebCore
|
|
|