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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.h

Issue 2557053002: Use LocalFrame::client() than getting the FrameLoader and then call client() on it. (Closed)
Patch Set: Rebase Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/FrameFetchContext.h
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.h b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
index 7d54e3bb1ad400423ccbd414f720aca08cff069f..92c9b49741cd2b308d0acc4f02238d169670424c 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
@@ -46,6 +46,7 @@ namespace blink {
class ClientHintsPreferences;
class Document;
class DocumentLoader;
+class FrameLoaderClient;
class LocalFrame;
class ResourceError;
class ResourceResponse;
@@ -175,6 +176,9 @@ class CORE_EXPORT FrameFetchContext final : public FetchContext {
LocalFrame* frameOfImportsController() const;
LocalFrame* frame() const;
+
+ FrameLoaderClient* frameLoaderClient() const;
+
void printAccessDeniedMessage(const KURL&) const;
ResourceRequestBlockedReason canRequestInternal(
Resource::Type,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698