Commit c87c6736 authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

Reland "WebLocks: Remove unused include from lock_manager.h."

This is a reland of 264654a0

The CL was reverted speculatively in https://crrev.com/c/2095733 to get
the tree green. The compilation errors leading to tree closure did not
seem related to the files changed in this CL.

Original change's description:
> WebLocks: Remove unused include from lock_manager.h.
>
> //content/browser/locks/lock_manager.h included
> //content/public/browser/browser_context.h, despite not using
> BrowserContext at all.
>
> Because lock_manager.h is included in storage_partition_impl.h,
> browser_context.h was indirectly included in many files. This CL fixes
> the IWYU violations highlighted by compiler errors.
>
> Change-Id: I46462b337d93a7ae1d60648cfd617b2e69662637
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2093553
> Commit-Queue: Matt Falkenhagen <falken@chromium.org>
> Auto-Submit: Victor Costan <pwnall@chromium.org>
> Reviewed-by: Matt Falkenhagen <falken@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#749082}

Tbr: falken
Change-Id: Iaa1527e4190a577d58355275f6badbd1c26ab44f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2100010Reviewed-by: default avatarVictor Costan <pwnall@chromium.org>
Commit-Queue: Victor Costan <pwnall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749512}
parent cf87e74b
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "base/task/post_task.h" #include "base/task/post_task.h"
#include "content/browser/background_sync/background_sync_manager.h" #include "content/browser/background_sync/background_sync_manager.h"
#include "content/browser/storage_partition_impl.h" #include "content/browser/storage_partition_impl.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/service_worker_context.h" #include "content/public/browser/service_worker_context.h"
#include "content/public/test/background_sync_test_util.h" #include "content/public/test/background_sync_test_util.h"
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
#include "content/browser/devtools/protocol/network.h" #include "content/browser/devtools/protocol/network.h"
#include "content/browser/devtools/protocol/network_handler.h" #include "content/browser/devtools/protocol/network_handler.h"
#include "content/browser/storage_partition_impl.h" #include "content/browser/storage_partition_impl.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h" #include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_process_host.h" #include "content/public/browser/render_process_host.h"
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "content/browser/storage_partition_impl.h" #include "content/browser/storage_partition_impl.h"
#include "content/browser/web_package/signed_exchange_handler.h" #include "content/browser/web_package/signed_exchange_handler.h"
#include "content/browser/web_package/signed_exchange_loader.h" #include "content/browser/web_package/signed_exchange_loader.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h" #include "content/public/browser/browser_thread.h"
#include "content/public/browser/web_contents.h" #include "content/public/browser/web_contents.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include "base/callback.h" #include "base/callback.h"
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "base/sequence_checker.h" #include "base/sequence_checker.h"
#include "content/public/browser/browser_context.h"
#include "mojo/public/cpp/bindings/receiver_set.h" #include "mojo/public/cpp/bindings/receiver_set.h"
#include "third_party/blink/public/mojom/locks/lock_manager.mojom.h" #include "third_party/blink/public/mojom/locks/lock_manager.mojom.h"
#include "url/origin.h" #include "url/origin.h"
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "content/browser/service_worker/service_worker_version.h" #include "content/browser/service_worker/service_worker_version.h"
#include "content/browser/storage_partition_impl.h" #include "content/browser/storage_partition_impl.h"
#include "content/common/service_worker/service_worker_utils.h" #include "content/common/service_worker/service_worker_utils.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_task_traits.h" #include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h" #include "content/public/browser/browser_thread.h"
#include "content/public/browser/devtools_background_services_context.h" #include "content/public/browser/devtools_background_services_context.h"
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "components/services/storage/public/mojom/test_api.test-mojom.h" #include "components/services/storage/public/mojom/test_api.test-mojom.h"
#include "content/browser/dom_storage/dom_storage_context_wrapper.h" #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
#include "content/browser/storage_partition_impl.h" #include "content/browser/storage_partition_impl.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h" #include "content/public/browser/web_contents.h"
#include "content/public/common/content_features.h" #include "content/public/common/content_features.h"
#include "content/public/test/browser_test_utils.h" #include "content/public/test/browser_test_utils.h"
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "components/services/storage/public/mojom/test_api.test-mojom.h" #include "components/services/storage/public/mojom/test_api.test-mojom.h"
#include "content/browser/dom_storage/dom_storage_context_wrapper.h" #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
#include "content/browser/storage_partition_impl.h" #include "content/browser/storage_partition_impl.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h" #include "content/public/browser/web_contents.h"
#include "content/public/common/content_features.h" #include "content/public/common/content_features.h"
#include "content/public/test/browser_test_utils.h" #include "content/public/test/browser_test_utils.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment