File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,6 @@ void AdblockRequestInfo::setFirstPartyUrl(const QUrl& firstPartyUrl) {
44
44
m_firstPartyUrl = firstPartyUrl;
45
45
}
46
46
47
- QUrl AdblockRequestInfo::initiator () const {
48
- return m_initiator;
49
- }
50
-
51
- void AdblockRequestInfo::setInitiator (const QUrl& initiator) {
52
- m_initiator = initiator;
53
- }
54
-
55
47
QByteArray AdblockRequestInfo::requestMethod () const {
56
48
return m_requestMethod;
57
49
}
@@ -62,7 +54,6 @@ void AdblockRequestInfo::setRequestMethod(const QByteArray& requestMethod) {
62
54
63
55
void AdblockRequestInfo::initialize (const QWebEngineUrlRequestInfo& webengine_info) {
64
56
setFirstPartyUrl (webengine_info.firstPartyUrl ());
65
- setInitiator (webengine_info.initiator ());
66
57
setNavigationType (webengine_info.navigationType ());
67
58
setRequestMethod (webengine_info.requestMethod ());
68
59
setRequestUrl (webengine_info.requestUrl ());
@@ -71,7 +62,6 @@ void AdblockRequestInfo::initialize(const QWebEngineUrlRequestInfo& webengine_in
71
62
72
63
void AdblockRequestInfo::initialize (const QUrl& url) {
73
64
setFirstPartyUrl (url);
74
- setInitiator (url);
75
65
setNavigationType (QWebEngineUrlRequestInfo::NavigationType::NavigationTypeTyped);
76
66
setRequestMethod (QSL (" GET" ).toLocal8Bit ());
77
67
setRequestUrl (url);
Original file line number Diff line number Diff line change @@ -22,9 +22,6 @@ class AdblockRequestInfo {
22
22
QUrl firstPartyUrl () const ;
23
23
void setFirstPartyUrl (const QUrl& firstPartyUrl);
24
24
25
- QUrl initiator () const ;
26
- void setInitiator (const QUrl& initiator);
27
-
28
25
QByteArray requestMethod () const ;
29
26
void setRequestMethod (const QByteArray& requestMethod);
30
27
You can’t perform that action at this time.
0 commit comments