Skip to content

Commit

Permalink
[Local Network Access] Rename c/b/r/private_network_access_util.*.
Browse files Browse the repository at this point in the history
The contents of the file will be renamed later, to keep reviews simpler.

Bug: chromium:1418287
Change-Id: I3d95f81bbfde7ca3fadf02da2657cddeb3bf2218
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4324677
Auto-Submit: Titouan Rigoudy <titouan@chromium.org>
Commit-Queue: Camille Lamy <clamy@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1115686}
  • Loading branch information
letitz authored and Chromium LUCI CQ committed Mar 10, 2023
1 parent f6717db commit e619b48
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions content/browser/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1707,6 +1707,8 @@ source_set("browser") {
"renderer_host/isolated_web_app_throttle.h",
"renderer_host/keep_alive_handle_factory.cc",
"renderer_host/keep_alive_handle_factory.h",
"renderer_host/local_network_access_util.cc",
"renderer_host/local_network_access_util.h",
"renderer_host/media/aec_dump_manager_impl.cc",
"renderer_host/media/aec_dump_manager_impl.h",
"renderer_host/media/audio_input_device_manager.cc",
Expand Down Expand Up @@ -1813,8 +1815,6 @@ source_set("browser") {
"renderer_host/pending_beacon_service.h",
"renderer_host/policy_container_host.cc",
"renderer_host/policy_container_host.h",
"renderer_host/private_network_access_util.cc",
"renderer_host/private_network_access_util.h",
"renderer_host/recently_destroyed_hosts.cc",
"renderer_host/recently_destroyed_hosts.h",
"renderer_host/render_frame_host_csp_context.cc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/browser/renderer_host/private_network_access_util.h"
#include "content/browser/renderer_host/local_network_access_util.h"

#include "base/command_line.h"
#include "base/feature_list.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#ifndef CONTENT_BROWSER_RENDERER_HOST_PRIVATE_NETWORK_ACCESS_UTIL_H_
#define CONTENT_BROWSER_RENDERER_HOST_PRIVATE_NETWORK_ACCESS_UTIL_H_
#ifndef CONTENT_BROWSER_RENDERER_HOST_LOCAL_NETWORK_ACCESS_UTIL_H_
#define CONTENT_BROWSER_RENDERER_HOST_LOCAL_NETWORK_ACCESS_UTIL_H_

#include "content/common/content_export.h"
#include "services/network/public/mojom/client_security_state.mojom-forward.h"
Expand Down Expand Up @@ -63,4 +63,4 @@ network::mojom::IPAddressSpace CalculateIPAddressSpace(
ContentBrowserClient* client);
} // namespace content

#endif // CONTENT_BROWSER_RENDERER_HOST_PRIVATE_NETWORK_ACCESS_UTIL_H_
#endif // CONTENT_BROWSER_RENDERER_HOST_LOCAL_NETWORK_ACCESS_UTIL_H_
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <tuple>
#include <vector>

#include "content/browser/renderer_host/private_network_access_util.h"
#include "content/browser/renderer_host/local_network_access_util.h"

#include "base/command_line.h"
#include "base/test/scoped_feature_list.h"
Expand Down
2 changes: 1 addition & 1 deletion content/browser/renderer_host/navigation_request.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
#include "content/browser/renderer_host/debug_urls.h"
#include "content/browser/renderer_host/frame_tree.h"
#include "content/browser/renderer_host/frame_tree_node.h"
#include "content/browser/renderer_host/local_network_access_util.h"
#include "content/browser/renderer_host/navigation_controller_impl.h"
#include "content/browser/renderer_host/navigation_request_info.h"
#include "content/browser/renderer_host/navigator.h"
#include "content/browser/renderer_host/navigator_delegate.h"
#include "content/browser/renderer_host/private_network_access_util.h"
#include "content/browser/renderer_host/render_frame_host_csp_context.h"
#include "content/browser/renderer_host/render_frame_host_delegate.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
Expand Down
2 changes: 1 addition & 1 deletion content/browser/renderer_host/policy_container_host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "base/ranges/algorithm.h"
#include "content/browser/renderer_host/frame_navigation_entry.h"
#include "content/browser/renderer_host/frame_tree_node.h"
#include "content/browser/renderer_host/private_network_access_util.h"
#include "content/browser/renderer_host/local_network_access_util.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/public/browser/browser_thread.h"
#include "services/network/public/cpp/is_potentially_trustworthy.h"
Expand Down
2 changes: 1 addition & 1 deletion content/browser/renderer_host/render_frame_host_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
#include "content/browser/renderer_host/input/input_router.h"
#include "content/browser/renderer_host/input/timeout_monitor.h"
#include "content/browser/renderer_host/ipc_utils.h"
#include "content/browser/renderer_host/local_network_access_util.h"
#include "content/browser/renderer_host/media/peer_connection_tracker_host.h"
#include "content/browser/renderer_host/navigation_controller_impl.h"
#include "content/browser/renderer_host/navigation_entry_impl.h"
Expand All @@ -115,7 +116,6 @@
#include "content/browser/renderer_host/page_factory.h"
#include "content/browser/renderer_host/pending_beacon_host.h"
#include "content/browser/renderer_host/pending_beacon_service.h"
#include "content/browser/renderer_host/private_network_access_util.h"
#include "content/browser/renderer_host/render_frame_host_delegate.h"
#include "content/browser/renderer_host/render_frame_host_owner.h"
#include "content/browser/renderer_host/render_frame_proxy_host.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "content/browser/devtools/devtools_instrumentation.h"
#include "content/browser/devtools/devtools_throttle_handle.h"
#include "content/browser/devtools/service_worker_devtools_manager.h"
#include "content/browser/renderer_host/private_network_access_util.h"
#include "content/browser/renderer_host/local_network_access_util.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/service_worker/embedded_worker_instance.h"
#include "content/browser/service_worker/embedded_worker_status.h"
Expand Down
2 changes: 1 addition & 1 deletion content/browser/service_worker/service_worker_version.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "content/browser/bad_message.h"
#include "content/browser/child_process_security_policy_impl.h"
#include "content/browser/renderer_host/back_forward_cache_can_store_document_result.h"
#include "content/browser/renderer_host/private_network_access_util.h"
#include "content/browser/renderer_host/local_network_access_util.h"
#include "content/browser/service_worker/payment_handler_support.h"
#include "content/browser/service_worker/service_worker_consts.h"
#include "content/browser/service_worker/service_worker_container_host.h"
Expand Down
2 changes: 1 addition & 1 deletion content/browser/worker_host/dedicated_worker_host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "content/browser/loader/content_security_notifier.h"
#include "content/browser/renderer_host/code_cache_host_impl.h"
#include "content/browser/renderer_host/frame_tree_node.h"
#include "content/browser/renderer_host/private_network_access_util.h"
#include "content/browser/renderer_host/local_network_access_util.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/service_worker/service_worker_container_host.h"
#include "content/browser/service_worker/service_worker_main_resource_handle.h"
Expand Down
2 changes: 1 addition & 1 deletion content/browser/worker_host/shared_worker_host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "content/browser/devtools/shared_worker_devtools_manager.h"
#include "content/browser/network/cross_origin_embedder_policy_reporter.h"
#include "content/browser/renderer_host/code_cache_host_impl.h"
#include "content/browser/renderer_host/private_network_access_util.h"
#include "content/browser/renderer_host/local_network_access_util.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/service_worker/service_worker_main_resource_handle.h"
#include "content/browser/service_worker/service_worker_object_host.h"
Expand Down
2 changes: 1 addition & 1 deletion content/browser/worker_host/shared_worker_service_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "base/observer_list.h"
#include "content/browser/devtools/shared_worker_devtools_agent_host.h"
#include "content/browser/loader/file_url_loader_factory.h"
#include "content/browser/renderer_host/private_network_access_util.h"
#include "content/browser/renderer_host/local_network_access_util.h"
#include "content/browser/service_worker/service_worker_main_resource_handle.h"
#include "content/browser/storage_partition_impl.h"
#include "content/browser/url_loader_factory_getter.h"
Expand Down
2 changes: 1 addition & 1 deletion content/test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -2455,6 +2455,7 @@ test("content_unittests") {
"../browser/renderer_host/input/touchpad_pinch_event_queue_unittest.cc",
"../browser/renderer_host/input/web_input_event_util_unittest.cc",
"../browser/renderer_host/isolated_web_app_throttle_unittest.cc",
"../browser/renderer_host/local_network_access_util_unittest.cc",
"../browser/renderer_host/media/audio_input_device_manager_unittest.cc",
"../browser/renderer_host/media/audio_input_stream_handle_unittest.cc",
"../browser/renderer_host/media/audio_output_authorization_handler_unittest.cc",
Expand Down Expand Up @@ -2489,7 +2490,6 @@ test("content_unittests") {
"../browser/renderer_host/overscroll_controller_unittest.cc",
"../browser/renderer_host/pending_beacon_host_unittest.cc",
"../browser/renderer_host/policy_container_host_unittest.cc",
"../browser/renderer_host/private_network_access_util_unittest.cc",
"../browser/renderer_host/recently_destroyed_hosts_unittest.cc",
"../browser/renderer_host/render_frame_host_csp_context_unittest.cc",
"../browser/renderer_host/render_frame_host_impl_unittest.cc",
Expand Down

0 comments on commit e619b48

Please sign in to comment.