diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-06-24 13:37:03 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-07-01 11:50:03 +0200 |
commit | 9a43ea339594a1e9bbd3fd8a74565f37b802b26f (patch) | |
tree | 6c7336fd5b86391d000cf88d973ebc1c530c105c /src | |
parent | fca390efa07fd4121dd550b91a33ca913062b26f (diff) |
Remove onloaded signal from Cookie API
This callback is no longer available from Chromium, and was not very
important to the API in the first place.
Change-Id: If65509380f2c27053cb4c04801b4e50694440d6a
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/api/qwebenginecookiestoreclient.cpp | 6 | ||||
-rw-r--r-- | src/core/api/qwebenginecookiestoreclient.h | 1 | ||||
-rw-r--r-- | src/core/api/qwebenginecookiestoreclient_p.h | 1 | ||||
-rw-r--r-- | src/core/cookie_monster_delegate_qt.cpp | 8 | ||||
-rw-r--r-- | src/core/cookie_monster_delegate_qt.h | 1 |
5 files changed, 0 insertions, 17 deletions
diff --git a/src/core/api/qwebenginecookiestoreclient.cpp b/src/core/api/qwebenginecookiestoreclient.cpp index c8b314be9..b0e91021d 100644 --- a/src/core/api/qwebenginecookiestoreclient.cpp +++ b/src/core/api/qwebenginecookiestoreclient.cpp @@ -113,12 +113,6 @@ void QWebEngineCookieStoreClientPrivate::onCookieChanged(const QNetworkCookie &c Q_EMIT q->cookieAdded(cookie); } -void QWebEngineCookieStoreClientPrivate::onCookieStoreLoaded() -{ - Q_Q(QWebEngineCookieStoreClient); - Q_EMIT q->cookieStoreLoaded(); -} - QWebEngineCookieStoreClient::QWebEngineCookieStoreClient(QObject *parent) : QObject(parent) , d_ptr(new QWebEngineCookieStoreClientPrivate(this)) diff --git a/src/core/api/qwebenginecookiestoreclient.h b/src/core/api/qwebenginecookiestoreclient.h index 3ab7df14f..58a332542 100644 --- a/src/core/api/qwebenginecookiestoreclient.h +++ b/src/core/api/qwebenginecookiestoreclient.h @@ -69,7 +69,6 @@ public: Q_SIGNALS: void cookieAdded(const QNetworkCookie &cookie); void cookieRemoved(const QNetworkCookie &cookie); - void cookieStoreLoaded(); private: friend class QtWebEngineCore::CookieMonsterDelegateQt; diff --git a/src/core/api/qwebenginecookiestoreclient_p.h b/src/core/api/qwebenginecookiestoreclient_p.h index aedb473cd..4a0f280f5 100644 --- a/src/core/api/qwebenginecookiestoreclient_p.h +++ b/src/core/api/qwebenginecookiestoreclient_p.h @@ -86,7 +86,6 @@ public: void onSetCallbackResult(qint64 callbackId, bool success); void onCookieChanged(const QNetworkCookie &cookie, bool removed); - void onCookieStoreLoaded(); }; QT_END_NAMESPACE diff --git a/src/core/cookie_monster_delegate_qt.cpp b/src/core/cookie_monster_delegate_qt.cpp index f42768901..d40abf13e 100644 --- a/src/core/cookie_monster_delegate_qt.cpp +++ b/src/core/cookie_monster_delegate_qt.cpp @@ -127,12 +127,4 @@ void CookieMonsterDelegateQt::OnCookieChanged(const net::CanonicalCookie& cookie m_client->d_ptr->onCookieChanged(toQt(cookie), removed); } -void CookieMonsterDelegateQt::OnLoaded() -{ - if (!m_client) - return; - - m_client->d_ptr->onCookieStoreLoaded(); -} - } diff --git a/src/core/cookie_monster_delegate_qt.h b/src/core/cookie_monster_delegate_qt.h index 05ab24e9f..7cd76bff0 100644 --- a/src/core/cookie_monster_delegate_qt.h +++ b/src/core/cookie_monster_delegate_qt.h @@ -71,7 +71,6 @@ public: void setClient(QWebEngineCookieStoreClient *client); void OnCookieChanged(const net::CanonicalCookie& cookie, bool removed, ChangeCause cause) override; - void OnLoaded() override; }; } |