Commit f22d531b authored by Gyuyoung Kim's avatar Gyuyoung Kim Committed by Commit Bot

Replace .mojom.h includes with .mojom-forward.h in chrome/browser

This CL replaces .mojom.h with .mojom-forward.h in some sub-directories
of chrome/browser to reduce the pre-processed size of header files and
shorter build time. The sub-directories are following,

 - chrome/browser/autofill
 - chrome/browser/background_sync
 - chrome/browser/banners
 - chrome/browser/battery/
 - chrome/browser/bitmap_fetcher
 - chrome/browser/browsing_data

This CL has no behavior changes.

Bug: 1001360
Change-Id: I946d6b412c598116a76a4618f4366919d7c2186d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1971292
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Reviewed-by: default avatarDominic Battré <battre@chromium.org>
Reviewed-by: default avatarChristian Dullweber <dullweber@chromium.org>
Reviewed-by: default avatarJosh Karlin <jkarlin@chromium.org>
Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
Reviewed-by: default avatarRyan Sturm <ryansturm@chromium.org>
Reviewed-by: default avatarPeter Williamson <petewil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726657}
parent 7991d936
......@@ -12,7 +12,7 @@
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "components/autofill/core/browser/ui/accessory_sheet_data.h"
#include "components/autofill/core/common/mojom/autofill_types.mojom.h"
#include "components/autofill/core/common/mojom/autofill_types.mojom-forward.h"
#include "content/public/browser/web_contents_user_data.h"
// Controller interface for the view that includes the keyboard accessory and
......
......@@ -11,7 +11,7 @@
#include "chrome/browser/password_manager/password_accessory_controller.h"
#include "components/autofill/core/browser/ui/accessory_sheet_data.h"
#include "components/autofill/core/browser/ui/accessory_sheet_enums.h"
#include "components/autofill/core/common/mojom/autofill_types.mojom.h"
#include "components/autofill/core/common/mojom/autofill_types.mojom-forward.h"
#include "components/autofill/core/common/password_generation_util.h"
#include "testing/gmock/include/gmock/gmock.h"
......
......@@ -22,7 +22,7 @@
#include "components/keyed_service/core/keyed_service.h"
#include "content/public/browser/background_sync_registration.h"
#include "content/public/browser/browser_thread.h"
#include "third_party/blink/public/mojom/background_sync/background_sync.mojom.h"
#include "third_party/blink/public/mojom/background_sync/background_sync.mojom-forward.h"
#include "url/gurl.h"
namespace content {
......
......@@ -22,7 +22,7 @@
#include "mojo/public/cpp/bindings/receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "third_party/blink/public/mojom/app_banner/app_banner.mojom.h"
#include "third_party/blink/public/mojom/manifest/display_mode.mojom.h"
#include "third_party/blink/public/mojom/manifest/display_mode.mojom-forward.h"
#include "url/gurl.h"
enum class WebappInstallSource;
......
......@@ -7,6 +7,7 @@
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "chrome/browser/installable/installable_logging.h"
#include "third_party/blink/public/mojom/manifest/display_mode.mojom.h"
namespace banners {
......
......@@ -6,7 +6,7 @@
#define CHROME_BROWSER_BANNERS_APP_BANNER_METRICS_H_
#include "chrome/browser/installable/installable_logging.h"
#include "third_party/blink/public/mojom/manifest/display_mode.mojom.h"
#include "third_party/blink/public/mojom/manifest/display_mode.mojom-forward.h"
namespace banners {
......
......@@ -13,6 +13,7 @@
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "content/public/browser/device_service.h"
#include "services/device/public/mojom/battery_status.mojom.h"
namespace {
......
......@@ -13,7 +13,7 @@
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/device/public/mojom/battery_monitor.mojom.h"
#include "services/device/public/mojom/battery_status.mojom.h"
#include "services/device/public/mojom/battery_status.mojom-forward.h"
// Records metrics around battery usage on all platforms. Connects to
// Battery monitor via mojo.
......
......@@ -14,8 +14,8 @@
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/url_request.h"
#include "services/network/public/cpp/simple_url_loader.h"
#include "services/network/public/mojom/fetch_api.mojom.h"
#include "services/network/public/mojom/url_loader_factory.mojom.h"
#include "services/network/public/mojom/fetch_api.mojom-forward.h"
#include "services/network/public/mojom/url_loader_factory.mojom-forward.h"
#include "url/gurl.h"
class SkBitmap;
......
......@@ -19,6 +19,7 @@
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/storage_partition.h"
#include "storage/browser/quota/quota_manager.h"
#include "third_party/blink/public/mojom/quota/quota_types.mojom.h"
#include "url/origin.h"
using blink::mojom::StorageType;
......
......@@ -17,7 +17,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/browsing_data/browsing_data_quota_helper.h"
#include "third_party/blink/public/mojom/quota/quota_types.mojom.h"
#include "third_party/blink/public/mojom/quota/quota_types.mojom-forward.h"
namespace storage {
class QuotaManager;
......
......@@ -26,6 +26,7 @@
#include "services/network/public/mojom/cookie_manager.mojom.h"
#include "storage/browser/file_system/file_system_context.h"
#include "storage/browser/quota/quota_manager.h"
#include "third_party/blink/public/mojom/quota/quota_types.mojom.h"
#include "url/gurl.h"
#include "url/origin.h"
......
......@@ -14,7 +14,7 @@
#include "chrome/browser/browsing_data/browsing_data_media_license_helper.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "net/cookies/canonical_cookie.h"
#include "third_party/blink/public/mojom/quota/quota_types.mojom.h"
#include "third_party/blink/public/mojom/quota/quota_types.mojom-forward.h"
class Profile;
class BrowsingDataFlashLSOHelper;
......
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