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

Unified Diff: content/public/browser/resource_request_info.h

Issue 1041993004: content::ResourceDispatcherHostImpl changes for stale-while-revalidate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s-w-r-yhirano-patch
Patch Set: Readability improvements suggested by tyoshino Created 5 years, 6 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: content/public/browser/resource_request_info.h
diff --git a/content/public/browser/resource_request_info.h b/content/public/browser/resource_request_info.h
index e9ba86ebcc0ea4c99f84a8a312a818c429406a8c..5463f22ad3ef9668f83b7c23dc8a7df1141d2cc0 100644
--- a/content/public/browser/resource_request_info.h
+++ b/content/public/browser/resource_request_info.h
@@ -124,6 +124,9 @@ class ResourceRequestInfo {
// Whether this is a download.
virtual bool IsDownload() const = 0;
+ // Whether this is an async revalidation.
+ virtual bool IsAsyncRevalidation() const = 0;
+
protected:
virtual ~ResourceRequestInfo() {}
};
« content/browser/loader/resource_request_info_impl.cc ('K') | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698