diff options
author | Michal Klocek <michal.klocek@theqtcompany.com> | 2015-11-26 17:19:31 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@theqtcompany.com> | 2015-12-01 22:05:00 +0000 |
commit | 0f64c6ae03a583e1fb060d87fc9b9dedf3b14dd6 (patch) | |
tree | 83bb7885a89ed3eca8d4e7e5bba0a2e44bad821e /src/core/cookie_monster_delegate_qt.cpp | |
parent | 6ef32812ccf6676e94e7d7fa7c3ae301d1069ca5 (diff) |
Rename QWebEngineCookieStoreClient to QWebEngineCookieStore
Change-Id: I8f9a4c5c155a65ede24908799218fd867db0767c
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/core/cookie_monster_delegate_qt.cpp')
-rw-r--r-- | src/core/cookie_monster_delegate_qt.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/cookie_monster_delegate_qt.cpp b/src/core/cookie_monster_delegate_qt.cpp index 7622614ca..a81670a6c 100644 --- a/src/core/cookie_monster_delegate_qt.cpp +++ b/src/core/cookie_monster_delegate_qt.cpp @@ -40,8 +40,8 @@ #include "content/public/browser/browser_thread.h" #include "net/cookies/cookie_util.h" -#include "api/qwebenginecookiestoreclient.h" -#include "api/qwebenginecookiestoreclient_p.h" +#include "api/qwebenginecookiestore.h" +#include "api/qwebenginecookiestore_p.h" #include "type_conversion.h" #include <QStringBuilder> @@ -53,15 +53,15 @@ static GURL sourceUrlForCookie(const QNetworkCookie &cookie) { return net::cookie_util::CookieOriginToURL(urlFragment.toStdString(), /* is_https */ cookie.isSecure()); } -static void onSetCookieCallback(QWebEngineCookieStoreClientPrivate *client, qint64 callbackId, bool success) { +static void onSetCookieCallback(QWebEngineCookieStorePrivate *client, qint64 callbackId, bool success) { client->onSetCallbackResult(callbackId, success); } -static void onDeleteCookiesCallback(QWebEngineCookieStoreClientPrivate *client, qint64 callbackId, int numCookies) { +static void onDeleteCookiesCallback(QWebEngineCookieStorePrivate *client, qint64 callbackId, int numCookies) { client->onDeleteCallbackResult(callbackId, numCookies); } -static void onGetAllCookiesCallback(QWebEngineCookieStoreClientPrivate *client, qint64 callbackId, const net::CookieList& cookies) { +static void onGetAllCookiesCallback(QWebEngineCookieStorePrivate *client, qint64 callbackId, const net::CookieList& cookies) { QByteArray rawCookies; for (auto&& cookie: cookies) rawCookies += toQt(cookie).toRawForm() % QByteArrayLiteral("\n"); @@ -145,7 +145,7 @@ void CookieMonsterDelegateQt::setCookieMonster(net::CookieMonster* monster) m_client->d_func()->processPendingUserCookies(); } -void CookieMonsterDelegateQt::setClient(QWebEngineCookieStoreClient *client) +void CookieMonsterDelegateQt::setClient(QWebEngineCookieStore *client) { m_client = client; |