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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.cpp

Issue 1977303003: Adds a feature to MHTML serialization that omits subframes and subresources marked no-store. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no-store
Patch Set: Address dcheng's comments. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/fetch/Resource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp
index 1144fedb62bf0098aa016cfea4fc77d272cfed67..346f5653dd79db2ea60c58b4b8df87f89234db0a 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
@@ -945,7 +945,7 @@ bool Resource::canReuseRedirectChain()
return true;
}
-bool Resource::hasCacheControlNoStoreHeader()
+bool Resource::hasCacheControlNoStoreHeader() const
{
return m_response.cacheControlContainsNoStore() || m_resourceRequest.cacheControlContainsNoStore();
}

Powered by Google App Engine
This is Rietveld 408576698