Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: third_party/WebKit/Source/core/dom/SecurityContext.h

Issue 1775933002: CORS-RFC1918: Pipe creator address space through SharedWorker creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/SecurityContext.h
diff --git a/third_party/WebKit/Source/core/dom/SecurityContext.h b/third_party/WebKit/Source/core/dom/SecurityContext.h
index 7c7143c58687bea460085b721ae819d3a6205e03..d0c1f53c4fd32d226637a5d663121ef254323e24 100644
--- a/third_party/WebKit/Source/core/dom/SecurityContext.h
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.h
@@ -30,7 +30,7 @@
#include "core/CoreExport.h"
#include "core/dom/SandboxFlags.h"
#include "platform/heap/Handle.h"
-#include "public/platform/WebURLRequest.h"
+#include "public/platform/WebAddressSpace.h"
#include "wtf/HashSet.h"
#include "wtf/Noncopyable.h"
#include "wtf/PassRefPtr.h"
@@ -70,8 +70,8 @@ public:
bool isSandboxed(SandboxFlags mask) const { return m_sandboxFlags & mask; }
void enforceSandboxFlags(SandboxFlags mask);
- void setAddressSpace(WebURLRequest::AddressSpace space) { m_addressSpace = space; }
- WebURLRequest::AddressSpace addressSpace() const { return m_addressSpace; }
+ void setAddressSpace(WebAddressSpace space) { m_addressSpace = space; }
+ WebAddressSpace addressSpace() const { return m_addressSpace; }
String addressSpaceForBindings() const;
void setInsecureRequestsPolicy(InsecureRequestsPolicy policy) { m_insecureRequestsPolicy = policy; }
@@ -99,7 +99,7 @@ private:
SandboxFlags m_sandboxFlags;
- WebURLRequest::AddressSpace m_addressSpace;
+ WebAddressSpace m_addressSpace;
InsecureRequestsPolicy m_insecureRequestsPolicy;
InsecureNavigationsSet m_insecureNavigationsToUpgrade;
bool m_enforceStrictMixedContentChecking;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/SecurityContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698