Chromium Code Reviews| Index: Source/web/WebSharedWorkerImpl.h |
| diff --git a/Source/web/WebSharedWorkerImpl.h b/Source/web/WebSharedWorkerImpl.h |
| index a13e5d7b2c0a40b78381fa64d1fefce0b6a4b929..213c9ede530b8d7d5ab92f8ee246d2f4aa814999 100644 |
| --- a/Source/web/WebSharedWorkerImpl.h |
| +++ b/Source/web/WebSharedWorkerImpl.h |
| @@ -36,6 +36,7 @@ |
| #include "WebContentSecurityPolicy.h" |
| #include "WebFrameClient.h" |
| #include "WebSharedWorkerClient.h" |
| +#include "WebWorkerSettingsImpl.h" |
| #include "core/dom/ExecutionContext.h" |
| #include "core/workers/WorkerLoaderProxy.h" |
| #include "core/workers/WorkerReportingProxy.h" |
| @@ -105,6 +106,8 @@ public: |
| virtual void detachDevTools() OVERRIDE; |
| virtual void dispatchDevToolsMessage(const WebString&) OVERRIDE; |
| + virtual WebWorkerSettings* settings() OVERRIDE { return m_settings.get(); } |
|
kinuko
2014/03/04 04:34:35
Unlike WebView case changing this after calling st
Pan
2014/03/06 08:50:56
yes, remove this impl
|
| + |
| private: |
| class Loader; |
| @@ -154,6 +157,8 @@ private: |
| WebString m_name; |
| WebString m_contentSecurityPolicy; |
| WebContentSecurityPolicyType m_policyType; |
| + |
| + OwnPtr<WebWorkerSettingsImpl> m_settings; |
| }; |
| } // namespace blink |