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

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: Adds a test that compares actual visible content. 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 91175f1b88a4f02ed950e3580d0a8d5bad26be3c..98ad09855d22403ac7cf9401fe24a21f63b7a47e 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
@@ -946,7 +946,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