summaryrefslogtreecommitdiffstats
path: root/src/core/download_manager_delegate_qt.h
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/download_manager_delegate_qt.h
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/download_manager_delegate_qt.h')
-rw-r--r--src/core/download_manager_delegate_qt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/download_manager_delegate_qt.h b/src/core/download_manager_delegate_qt.h
index 57fd5389b..fa5bd12ec 100644
--- a/src/core/download_manager_delegate_qt.h
+++ b/src/core/download_manager_delegate_qt.h
@@ -59,7 +59,7 @@ class DownloadItem;
}
namespace QtWebEngineCore {
-class BrowserContextAdapter;
+class ProfileAdapter;
class DownloadManagerDelegateInstance;
class DownloadTargetHelper;
@@ -68,7 +68,7 @@ class DownloadManagerDelegateQt
, public download::DownloadItem::Observer
{
public:
- DownloadManagerDelegateQt(BrowserContextAdapter *contextAdapter);
+ DownloadManagerDelegateQt(ProfileAdapter *profileAdapter);
~DownloadManagerDelegateQt();
void GetNextId(const content::DownloadIdCallback& callback) override;
@@ -100,7 +100,7 @@ public:
private:
void cancelDownload(const content::DownloadTargetCallback& callback);
void savePackageDownloadCreated(download::DownloadItem *download);
- BrowserContextAdapter *m_contextAdapter;
+ ProfileAdapter *m_profileAdapter;
uint64_t m_currentId;
base::WeakPtrFactory<DownloadManagerDelegateQt> m_weakPtrFactory;