summaryrefslogtreecommitdiffstats
path: root/src/core/net/custom_protocol_handler.cpp
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2018-06-15 12:38:30 +0200
committerMichal Klocek <michal.klocek@qt.io>2018-07-09 19:22:11 +0000
commitd599aea151a5c7753e7eb1fc1a2c2b5953ac580b (patch)
tree3563522c3c15e4043a8e8a0023cb2f21a9709891 /src/core/net/custom_protocol_handler.cpp
parent10877c3ec0184e6c2a07b8775d32c8efc38a29a3 (diff)
Rename BrowserContextAdapter to ProfileAdapter
Follow change of BrowserContextQt to ProfileQt. Fix wrong naming usage of browserContext instead of browserContextAdapter. Change-Id: I75fdac685d9bffd44f0144921d3e87305d6d44c9 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/core/net/custom_protocol_handler.cpp')
-rw-r--r--src/core/net/custom_protocol_handler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/net/custom_protocol_handler.cpp b/src/core/net/custom_protocol_handler.cpp
index 3620bc10c..5132782c2 100644
--- a/src/core/net/custom_protocol_handler.cpp
+++ b/src/core/net/custom_protocol_handler.cpp
@@ -46,8 +46,8 @@
namespace QtWebEngineCore {
-CustomProtocolHandler::CustomProtocolHandler(QPointer<BrowserContextAdapter> adapter)
- : m_adapter(adapter)
+CustomProtocolHandler::CustomProtocolHandler(QPointer<ProfileAdapter> profileAdapter)
+ : m_profileAdapter(profileAdapter)
{
}
@@ -56,7 +56,7 @@ net::URLRequestJob *CustomProtocolHandler::MaybeCreateJob(net::URLRequest *reque
if (!networkDelegate)
return new net::URLRequestErrorJob(request, Q_NULLPTR, net::ERR_ACCESS_DENIED);
- return new URLRequestCustomJob(request, networkDelegate, request->url().scheme(), m_adapter);
+ return new URLRequestCustomJob(request, networkDelegate, request->url().scheme(), m_profileAdapter);
}
} // namespace