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

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

Issue 2676163002: Refactor the forPreload flag to mean speculative preload. (Closed)
Patch Set: Renamed ReportingPolicy and moved comments Created 3 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
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 b3fbffb8e86490f78da318fe600d8774615207ee..bcd82eb8049c1eb52bb4a8ff0a655d6593dd3781 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
@@ -118,7 +118,7 @@ class CORE_EXPORT FrameFetchContext final : public FetchContext {
ResourceRequest&,
Resource::Type,
const AtomicString& fetchInitiatorName,
- bool forPreload) override;
+ V8ActivityLoggingPolicy) override;
void didLoadResource(Resource*) override;
void addResourceTiming(const ResourceTimingInfo&) override;
@@ -128,7 +128,7 @@ class CORE_EXPORT FrameFetchContext final : public FetchContext {
const ResourceRequest&,
const KURL&,
const ResourceLoaderOptions&,
- bool forPreload,
+ SecurityViolationReportingPolicy,
FetchRequest::OriginRestriction) const override;
ResourceRequestBlockedReason allowResponse(
Resource::Type,
@@ -185,7 +185,7 @@ class CORE_EXPORT FrameFetchContext final : public FetchContext {
const ResourceRequest&,
const KURL&,
const ResourceLoaderOptions&,
- bool forPreload,
+ SecurityViolationReportingPolicy,
FetchRequest::OriginRestriction,
ResourceRequest::RedirectStatus) const;

Powered by Google App Engine
This is Rietveld 408576698