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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.h

Issue 2844913002: Drop GetFrame()->GetDocument() usage in FrameFetchContext (Closed)
Patch Set: Add comment in SendMessageToConsoleForPossiblyNullDocument Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 DocumentLoader* MasterDocumentLoader() const; 164 DocumentLoader* MasterDocumentLoader() const;
165 Document* GetDocument() const; 165 Document* GetDocument() const;
166 LocalFrame* GetFrame() const; 166 LocalFrame* GetFrame() const;
167 LocalFrameClient* GetLocalFrameClient() const; 167 LocalFrameClient* GetLocalFrameClient() const;
168 LocalFrame* FrameOfImportsController() const; 168 LocalFrame* FrameOfImportsController() const;
169 169
170 // BaseFetchContext overrides: 170 // BaseFetchContext overrides:
171 ContentSettingsClient* GetContentSettingsClient() const override; 171 ContentSettingsClient* GetContentSettingsClient() const override;
172 Settings* GetSettings() const override; 172 Settings* GetSettings() const override;
173 SubresourceFilter* GetSubresourceFilter() const override; 173 SubresourceFilter* GetSubresourceFilter() const override;
174 SecurityContext* GetMainResourceSecurityContext() const override; 174 SecurityContext* GetParentSecurityContext() const override;
175 bool ShouldBlockRequestByInspector(const ResourceRequest&) const override; 175 bool ShouldBlockRequestByInspector(const ResourceRequest&) const override;
176 void DispatchDidBlockRequest(const ResourceRequest&, 176 void DispatchDidBlockRequest(const ResourceRequest&,
177 const FetchInitiatorInfo&, 177 const FetchInitiatorInfo&,
178 ResourceRequestBlockedReason) const override; 178 ResourceRequestBlockedReason) const override;
179 void ReportLocalLoadFailed(const KURL&) const override; 179 void ReportLocalLoadFailed(const KURL&) const override;
180 bool ShouldBypassMainWorldCSP() const override; 180 bool ShouldBypassMainWorldCSP() const override;
181 bool IsSVGImageChromeClient() const override; 181 bool IsSVGImageChromeClient() const override;
182 void CountUsage(UseCounter::Feature) const override; 182 void CountUsage(UseCounter::Feature) const override;
183 void CountDeprecation(UseCounter::Feature) const override; 183 void CountDeprecation(UseCounter::Feature) const override;
184 bool ShouldBlockFetchByMixedContentCheck( 184 bool ShouldBlockFetchByMixedContentCheck(
185 const ResourceRequest&, 185 const ResourceRequest&,
186 const KURL&, 186 const KURL&,
187 SecurityViolationReportingPolicy) const override; 187 SecurityViolationReportingPolicy) const override;
188 188
189 Member<DocumentLoader> document_loader_; 189 Member<DocumentLoader> document_loader_;
190 }; 190 };
191 191
192 } // namespace blink 192 } // namespace blink
193 193
194 #endif 194 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.cpp ('k') | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698