Chromium Code Reviews| Index: Source/core/dom/ExecutionContext.h |
| diff --git a/Source/core/dom/ExecutionContext.h b/Source/core/dom/ExecutionContext.h |
| index 9e52a25737814f0c9c018d57476c0d039652462f..851282feaf962811b6fe27469c39bc1193097cc2 100644 |
| --- a/Source/core/dom/ExecutionContext.h |
| +++ b/Source/core/dom/ExecutionContext.h |
| @@ -125,6 +125,10 @@ public: |
| bool isSandboxed(SandboxFlags mask) const { return m_sandboxFlags & mask; } |
| void enforceSandboxFlags(SandboxFlags mask); |
| + void enforceSuborigin(const String& name); |
| + bool hasSuborigin() const { return m_client->securityContext().securityOrigin()->hasSuborigin(); } |
| + String suboriginName() const { return m_client->securityContext().securityOrigin()->suboriginName(); } |
| + |
| PassOwnPtr<LifecycleNotifier<ExecutionContext> > createLifecycleNotifier(); |
| virtual EventQueue* eventQueue() const = 0; |
| @@ -151,6 +155,7 @@ private: |
| ExecutionContextClient* m_client; |
| SandboxFlags m_sandboxFlags; |
| + String m_suboriginName; |
|
abarth-chromium
2014/07/31 04:56:47
Why do we store the m_suboriginName here but have
jww
2014/10/21 23:51:06
Yup, this was totally unnecessary, made even more
|
| int m_circularSequentialID; |
| typedef HashMap<int, OwnPtr<DOMTimer> > TimeoutMap; |