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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/FetchContext.h

Issue 2676163002: Refactor the forPreload flag to mean speculative preload. (Closed)
Patch Set: 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/platform/loader/fetch/FetchContext.h
diff --git a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
index ffc6869eb58647e2242e800f4aa9c16df9579f6a..ef3c78be9a1a27327aecbe0d0a100f81f90310d6 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
@@ -129,7 +129,7 @@ class PLATFORM_EXPORT FetchContext
ResourceRequest&,
Resource::Type,
const AtomicString& fetchInitiatorName,
- bool forPreload);
+ bool suppressLogging);
virtual void didLoadResource(Resource*);
virtual void addResourceTiming(const ResourceTimingInfo&);
@@ -140,7 +140,7 @@ class PLATFORM_EXPORT FetchContext
const ResourceRequest&,
const KURL&,
const ResourceLoaderOptions&,
- bool forPreload,
+ bool suppressReport,
FetchRequest::OriginRestriction) const {
return ResourceRequestBlockedReason::Other;
}

Powered by Google App Engine
This is Rietveld 408576698