summaryrefslogtreecommitdiffstats
path: root/src/core/profile_io_data_qt.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-04-16 15:41:42 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-04-20 09:45:00 +0200
commit9e56f570e31a0ef18e544bb21dfddebfe43ec2d0 (patch)
tree5f3af76e8120aada7bc472ece9c7f25da149c9d4 /src/core/profile_io_data_qt.h
parenta05bb73747620dd8f0294a57ff690a4f4202884e (diff)
Cleanup interceptors in profile
Change-Id: Ibc6d63845601b8189ac38bacc77885327284c81f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/profile_io_data_qt.h')
-rw-r--r--src/core/profile_io_data_qt.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/profile_io_data_qt.h b/src/core/profile_io_data_qt.h
index 6d9dd1a45..26ae1bcb2 100644
--- a/src/core/profile_io_data_qt.h
+++ b/src/core/profile_io_data_qt.h
@@ -87,15 +87,8 @@ public:
bool canGetCookies(const QUrl &firstPartyUrl, const QUrl &url) const;
// Used in NetworkDelegateQt::OnBeforeURLRequest.
- bool isInterceptorDeprecated() const; // Remove for Qt6
- QWebEngineUrlRequestInterceptor *acquireInterceptor(); // Remove for Qt6
- void releaseInterceptor();
- QWebEngineUrlRequestInterceptor *requestInterceptor();
-
void setFullConfiguration(); // runs on ui thread
void resetNetworkContext(); // runs on ui thread
- void updateRequestInterceptor(); // runs on ui thread
- bool hasPageInterceptors();
network::mojom::NetworkContextParamsPtr CreateNetworkContextParams();
@@ -125,7 +118,6 @@ private:
QString m_httpUserAgent;
ProfileAdapter::HttpCacheType m_httpCacheType;
QString m_httpCachePath;
- QWebEngineUrlRequestInterceptor* m_requestInterceptor = nullptr;
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
QMutex m_mutex{QMutex::Recursive};
using QRecursiveMutex = QMutex;
@@ -134,10 +126,8 @@ private:
#endif
int m_httpCacheMaxSize = 0;
bool m_useForGlobalCertificateVerification = false;
- bool m_hasPageInterceptors = false;
base::WeakPtrFactory<ProfileIODataQt> m_weakPtrFactory; // this should be always the last member
QString m_dataPath;
- volatile bool m_isInterceptorDeprecated = false; // Remove for Qt6
DISALLOW_COPY_AND_ASSIGN(ProfileIODataQt);
};
} // namespace QtWebEngineCore