summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMartin Negyokru <negyokru@inf.u-szeged.hu>2022-03-22 11:24:35 +0100
committerMartin Negyokru <negyokru@inf.u-szeged.hu>2022-03-24 22:03:53 +0100
commit67a59057b107ed8bea4db818538f4d30b793a90e (patch)
tree8289ded7d338171a216e1436d73c25aa97034491 /src/core
parent038c86c6d8c85e0a101b8d2b7fc35a995c8d1d40 (diff)
Clean up includes in profile_adapter
Change-Id: If345d774651b801362da67ff9d3f80867662b29d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/profile_adapter.cpp10
-rw-r--r--src/core/profile_adapter.h3
2 files changed, 5 insertions, 8 deletions
diff --git a/src/core/profile_adapter.cpp b/src/core/profile_adapter.cpp
index 6e902ff5a..27edae132 100644
--- a/src/core/profile_adapter.cpp
+++ b/src/core/profile_adapter.cpp
@@ -39,7 +39,9 @@
#include "profile_adapter.h"
+#include "base/files/file_util.h"
#include "base/task/cancelable_task_tracker.h"
+#include "base/time/time_to_iso8601.h"
#include "components/favicon/core/favicon_service.h"
#include "components/history/content/browser/history_database_helper.h"
#include "components/history/core/browser/history_database_params.h"
@@ -48,9 +50,7 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/browsing_data_remover.h"
#include "content/public/browser/download_manager.h"
-#include "content/public/browser/shared_cors_origin_access_list.h"
#include "content/public/browser/storage_partition.h"
-#include "services/network/public/cpp/cors/origin_access_list.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "url/url_util.h"
@@ -65,12 +65,8 @@
#include "renderer_host/user_resource_controller_host.h"
#include "type_conversion.h"
#include "visited_links_manager_qt.h"
-#include "web_engine_context.h"
#include "web_contents_adapter_client.h"
-
-#include "base/files/file_util.h"
-#include "base/time/time_to_iso8601.h"
-#include "components/keyed_service/content/browser_context_dependency_manager.h"
+#include "web_engine_context.h"
#if BUILDFLAG(ENABLE_EXTENSIONS)
#include "extensions/browser/extension_system.h"
diff --git a/src/core/profile_adapter.h b/src/core/profile_adapter.h
index 373d6e2a9..c7edd7860 100644
--- a/src/core/profile_adapter.h
+++ b/src/core/profile_adapter.h
@@ -53,10 +53,11 @@
#include <QtWebEngineCore/private/qtwebenginecoreglobal_p.h>
-#include <QEnableSharedFromThis>
+#include <QHash>
#include <QList>
#include <QPointer>
#include <QScopedPointer>
+#include <QSharedPointer>
#include <QString>
#include <QtWebEngineCore/qwebengineclientcertificatestore.h>