summaryrefslogtreecommitdiffstats
path: root/src/core/browser_context_adapter.h
diff options
context:
space:
mode:
authorSzabolcs David <davidsz@inf.u-szeged.hu>2015-12-10 07:05:29 -0800
committerSzabolcs David <davidsz@inf.u-szeged.hu>2016-01-06 08:06:33 +0000
commitf5ed13b1e2d20ca49adb6fa378faee14bece16a0 (patch)
tree70dbd031d4a59a8b5031fc93795f5a08ac715c65 /src/core/browser_context_adapter.h
parent1ae9e7cc00a366fddcb4909df375829e9727c7fa (diff)
Add function to clear data from the cache
It marks the entries of the current cache backend for deletion and starts to remove them. Task-number: QTBUG-48177 Change-Id: I85ec25048ff5429976f1b2dcacd74666bdbe6624 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/core/browser_context_adapter.h')
-rw-r--r--src/core/browser_context_adapter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/browser_context_adapter.h b/src/core/browser_context_adapter.h
index 97a4dca4a..ee913b8cb 100644
--- a/src/core/browser_context_adapter.h
+++ b/src/core/browser_context_adapter.h
@@ -157,6 +157,8 @@ public:
QString httpAcceptLanguage() const;
void setHttpAcceptLanguage(const QString &httpAcceptLanguage);
+ void clearHttpCache();
+
private:
QString m_name;
bool m_offTheRecord;