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

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/frame/csp/CSPDirectiveList.h
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
index d8c1400ddd2a5c697657b2aa55bdb9f9530a99e2..db5ccdf8e9ea1e50e1284abcf00f32c7f5a6d127 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
@@ -22,11 +22,10 @@ namespace blink {
class ContentSecurityPolicy;
-class CSPDirectiveList : public NoBaseWillBeGarbageCollectedFinalized<CSPDirectiveList> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(CSPDirectiveList);
+class CSPDirectiveList : public GarbageCollectedFinalized<CSPDirectiveList> {
WTF_MAKE_NONCOPYABLE(CSPDirectiveList);
public:
- static PassOwnPtrWillBeRawPtr<CSPDirectiveList> create(ContentSecurityPolicy*, const UChar* begin, const UChar* end, ContentSecurityPolicyHeaderType, ContentSecurityPolicyHeaderSource);
+ static RawPtr<CSPDirectiveList> create(ContentSecurityPolicy*, const UChar* begin, const UChar* end, ContentSecurityPolicyHeaderType, ContentSecurityPolicyHeaderSource);
void parse(const UChar* begin, const UChar* end);
@@ -98,7 +97,7 @@ private:
void treatAsPublicAddress(const String& name, const String& value);
template <class CSPDirectiveType>
- void setCSPDirective(const String& name, const String& value, OwnPtrWillBeMember<CSPDirectiveType>&);
+ void setCSPDirective(const String& name, const String& value, Member<CSPDirectiveType>&);
SourceListDirective* operativeDirective(SourceListDirective*) const;
SourceListDirective* operativeDirective(SourceListDirective*, SourceListDirective* override) const;
@@ -127,7 +126,7 @@ private:
bool denyIfEnforcingPolicy() const { return m_reportOnly; }
- RawPtrWillBeMember<ContentSecurityPolicy> m_policy;
+ Member<ContentSecurityPolicy> m_policy;
String m_header;
ContentSecurityPolicyHeaderType m_headerType;
@@ -145,21 +144,21 @@ private:
bool m_upgradeInsecureRequests;
bool m_treatAsPublicAddress;
- OwnPtrWillBeMember<MediaListDirective> m_pluginTypes;
- OwnPtrWillBeMember<SourceListDirective> m_baseURI;
- OwnPtrWillBeMember<SourceListDirective> m_childSrc;
- OwnPtrWillBeMember<SourceListDirective> m_connectSrc;
- OwnPtrWillBeMember<SourceListDirective> m_defaultSrc;
- OwnPtrWillBeMember<SourceListDirective> m_fontSrc;
- OwnPtrWillBeMember<SourceListDirective> m_formAction;
- OwnPtrWillBeMember<SourceListDirective> m_frameAncestors;
- OwnPtrWillBeMember<SourceListDirective> m_frameSrc;
- OwnPtrWillBeMember<SourceListDirective> m_imgSrc;
- OwnPtrWillBeMember<SourceListDirective> m_mediaSrc;
- OwnPtrWillBeMember<SourceListDirective> m_manifestSrc;
- OwnPtrWillBeMember<SourceListDirective> m_objectSrc;
- OwnPtrWillBeMember<SourceListDirective> m_scriptSrc;
- OwnPtrWillBeMember<SourceListDirective> m_styleSrc;
+ Member<MediaListDirective> m_pluginTypes;
+ Member<SourceListDirective> m_baseURI;
+ Member<SourceListDirective> m_childSrc;
+ Member<SourceListDirective> m_connectSrc;
+ Member<SourceListDirective> m_defaultSrc;
+ Member<SourceListDirective> m_fontSrc;
+ Member<SourceListDirective> m_formAction;
+ Member<SourceListDirective> m_frameAncestors;
+ Member<SourceListDirective> m_frameSrc;
+ Member<SourceListDirective> m_imgSrc;
+ Member<SourceListDirective> m_mediaSrc;
+ Member<SourceListDirective> m_manifestSrc;
+ Member<SourceListDirective> m_objectSrc;
+ Member<SourceListDirective> m_scriptSrc;
+ Member<SourceListDirective> m_styleSrc;
Vector<String> m_reportEndpoints;
« no previous file with comments | « third_party/WebKit/Source/core/frame/csp/CSPDirective.h ('k') | third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698