0

Add includes in preparation for leaner mojom.h files (1/3)

In order to reduce build times, generated mojom.h files will use
forward declarations more aggressively after https://crrev.com/c/2932644

In particular, mojom.h files which define an interface may not provide
full definitions of method parameter types defined in other mojoms.
This reduces the size of those interfaces, but it means that
implementors and callers of such methods may have to include more
headers, as is done in this CL.

Bug: 242216
Change-Id: I2159c9a0bf0d085a49711628132c120318f8b4f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2959875
Auto-Submit: Hans Wennborg <hans@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Owners-Override: Nico Weber <thakis@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#892528}
This commit is contained in:
Hans Wennborg
2021-06-15 11:34:01 +00:00
committed by Chromium LUCI CQ
parent a27d4a36b8
commit d3bd0a9748
146 changed files with 171 additions and 5 deletions
android_webview/browser
ash/services/recording
chrome
browser
android
ash
autocomplete
captive_portal
chrome_content_browser_client.cc
chromeos
devtools
endpoint_fetcher
enterprise
extensions
media
nearby_sharing
net
password_manager
predictors
prefetch
prefs
printing
profile_resetter
safe_browsing
search
sharing
signin
speech
spellchecker
ssl
supervised_user
ui
video_tutorials
web_applications
renderer
services
chromecast
chromeos
components
arc
assist_ranker
browsing_data
cast_channel
dom_distiller
download
feed
feedback
gcm_driver
image_fetcher
mirroring
net_log
ntp_snippets
offline_pages
password_manager
core
browser
performance_manager
policy
query_tiles
safe_browsing
safe_search_api
search_provider_logos
services
signin
suggestions
sync
ui_devtools
update_client
variations
viz
webapps

@ -16,6 +16,7 @@
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/public/mojom/url_response_head.mojom.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gmock/include/gmock/gmock.h"

@ -13,6 +13,7 @@
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/public/mojom/url_response_head.mojom.h"
#include "url/gurl.h"
namespace safe_search_api {