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

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

Issue 980213002: Rename InsecureContentPolicy to InsecureRequestsPolicy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/core/dom/DocumentInit.cpp ('k') | Source/core/dom/SecurityContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/SecurityContext.h
diff --git a/Source/core/dom/SecurityContext.h b/Source/core/dom/SecurityContext.h
index 3007832d0f116b719cd684cef92e5b6bbe9864ff..7631aa8d0a4a236ec8c0ee86f2217b1561abf5db 100644
--- a/Source/core/dom/SecurityContext.h
+++ b/Source/core/dom/SecurityContext.h
@@ -40,10 +40,10 @@ class KURL;
class SecurityContext {
public:
- // The ordering here is important: 'Upgrade' overrides 'Monitor', which overrides 'DoNotUpgrade'.
- enum InsecureContentPolicy {
- InsecureContentDoNotUpgrade = 0,
- InsecureContentUpgrade
+ // The ordering here is important: 'Upgrade' overrides 'DoNotUpgrade'.
+ enum InsecureRequestsPolicy {
+ InsecureRequestsDoNotUpgrade = 0,
+ InsecureRequestsUpgrade
};
SecurityOrigin* securityOrigin() const { return m_securityOrigin.get(); }
@@ -64,8 +64,8 @@ public:
void setHostedInReservedIPRange() { m_hostedInReservedIPRange = true; }
bool isHostedInReservedIPRange() const { return m_hostedInReservedIPRange; }
- void setInsecureContentPolicy(InsecureContentPolicy policy) { m_insecureContentPolicy = policy; }
- InsecureContentPolicy insecureContentPolicy() const { return m_insecureContentPolicy; }
+ void setInsecureRequestsPolicy(InsecureRequestsPolicy policy) { m_insecureRequestsPolicy = policy; }
+ InsecureRequestsPolicy insecureRequestsPolicy() const { return m_insecureRequestsPolicy; }
protected:
SecurityContext();
@@ -84,7 +84,7 @@ private:
SandboxFlags m_sandboxFlags;
bool m_hostedInReservedIPRange;
- InsecureContentPolicy m_insecureContentPolicy;
+ InsecureRequestsPolicy m_insecureRequestsPolicy;
};
} // namespace blink
« no previous file with comments | « Source/core/dom/DocumentInit.cpp ('k') | Source/core/dom/SecurityContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698