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

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

Issue 1867493003: remove FetchContext::getCachePolicy() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review #51 Created 3 years, 9 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 5097526597e22da6b76283d3cdba239f38d917fa..18748f88670c54d8111b0ca8ea770dfdffc51bb2 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
+++ b/third_party/WebKit/Source/platform/loader/fetch/FetchContext.h
@@ -33,7 +33,6 @@
#include "platform/PlatformExport.h"
#include "platform/heap/Handle.h"
-#include "platform/loader/fetch/CachePolicy.h"
#include "platform/loader/fetch/FetchInitiatorInfo.h"
#include "platform/loader/fetch/FetchRequest.h"
#include "platform/loader/fetch/Resource.h"
@@ -78,7 +77,7 @@ class PLATFORM_EXPORT FetchContext
virtual bool isLiveContext() { return false; }
virtual void addAdditionalRequestHeaders(ResourceRequest&, FetchResourceType);
- virtual CachePolicy getCachePolicy() const;
+
// Returns the cache policy for the resource. ResourceRequest is not passed as
// a const reference as a header needs to be added for doc.write blocking
// intervention.

Powered by Google App Engine
This is Rietveld 408576698