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

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

This CL replaces .mojom.h includes 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/devtools
 - chrome/browser/download
 - chrome/browser/engagement
 - chrome/browser/extensions
 - chrome/browser/guest_view
 - chrome/browser/language
 - chrome/browser/lookalikes

This CL has no behavior changes.

Bug: 1001360
Change-Id: I72c3e4a30c561487b07ea9d94f3d88be93e30ab4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1977882Reviewed-by: default avatarMin Qin <qinmin@chromium.org>
Reviewed-by: default avatarAndrey Kosyakov <caseq@chromium.org>
Reviewed-by: default avatarDavid Vallet <dvallet@chromium.org>
Reviewed-by: default avatarBen Wells <benwells@chromium.org>
Reviewed-by: default avatarCarlos IL <carlosil@chromium.org>
Reviewed-by: default avatarXi Han <hanxi@chromium.org>
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Cr-Commit-Position: refs/heads/master@{#732641}
parent 45234e3c
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include "mojo/public/cpp/bindings/pending_receiver.h" #include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/remote.h" #include "mojo/public/cpp/bindings/remote.h"
#include "net/base/host_port_pair.h" #include "net/base/host_port_pair.h"
#include "services/network/public/mojom/host_resolver.mojom.h" #include "services/network/public/mojom/host_resolver.mojom-forward.h"
class TCPDeviceProvider : public AndroidDeviceManager::DeviceProvider { class TCPDeviceProvider : public AndroidDeviceManager::DeviceProvider {
public: public:
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "chrome/browser/devtools/device/usb/usb_device_manager_helper.h" #include "chrome/browser/devtools/device/usb/usb_device_manager_helper.h"
#include "mojo/public/cpp/bindings/remote.h" #include "mojo/public/cpp/bindings/remote.h"
#include "services/device/public/mojom/usb_device.mojom.h" #include "services/device/public/mojom/usb_device.mojom-forward.h"
namespace base { namespace base {
class RefCountedBytes; class RefCountedBytes;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "chrome/browser/download/download_stats.h" #include "chrome/browser/download/download_stats.h"
#include "chrome/common/media_galleries/metadata_types.h" #include "chrome/common/media_galleries/metadata_types.h"
#include "chrome/services/media_gallery_util/public/cpp/media_parser_provider.h" #include "chrome/services/media_gallery_util/public/cpp/media_parser_provider.h"
#include "chrome/services/media_gallery_util/public/mojom/media_parser.mojom.h" #include "chrome/services/media_gallery_util/public/mojom/media_parser.mojom-forward.h"
#include "media/base/media_log.h" #include "media/base/media_log.h"
#include "media/mojo/mojom/interface_factory.mojom.h" #include "media/mojo/mojom/interface_factory.mojom.h"
#include "mojo/public/cpp/bindings/remote.h" #include "mojo/public/cpp/bindings/remote.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "base/memory/scoped_refptr.h" #include "base/memory/scoped_refptr.h"
#include "base/sequenced_task_runner.h" #include "base/sequenced_task_runner.h"
#include "chrome/services/media_gallery_util/public/cpp/safe_media_metadata_parser.h" #include "chrome/services/media_gallery_util/public/cpp/safe_media_metadata_parser.h"
#include "chrome/services/media_gallery_util/public/mojom/media_parser.mojom.h" #include "chrome/services/media_gallery_util/public/mojom/media_parser.mojom-forward.h"
namespace base { namespace base {
class FilePath; class FilePath;
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
#include "base/macros.h" #include "base/macros.h"
#include "base/time/time.h" #include "base/time/time.h"
#include "base/values.h" #include "base/values.h"
#include "chrome/browser/engagement/site_engagement_details.mojom.h" #include "chrome/browser/engagement/site_engagement_details.mojom-forward.h"
#include "third_party/blink/public/mojom/site_engagement/site_engagement.mojom.h" #include "third_party/blink/public/mojom/site_engagement/site_engagement.mojom-forward.h"
#include "url/gurl.h" #include "url/gurl.h"
namespace base { namespace base {
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "net/traffic_annotation/network_traffic_annotation.h" #include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/url_fetcher.h" #include "net/url_request/url_fetcher.h"
#include "services/network/public/cpp/simple_url_loader.h" #include "services/network/public/cpp/simple_url_loader.h"
#include "services/network/public/mojom/url_loader_factory.mojom.h"
#include "services/network/public/mojom/url_response_head.mojom.h" #include "services/network/public/mojom/url_response_head.mojom.h"
namespace extensions { namespace extensions {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "chrome/browser/extensions/api/image_writer_private/operation.h" #include "chrome/browser/extensions/api/image_writer_private/operation.h"
#include "mojo/public/cpp/bindings/pending_remote.h" #include "mojo/public/cpp/bindings/pending_remote.h"
#include "services/network/public/mojom/url_loader_factory.mojom.h" #include "services/network/public/mojom/url_loader_factory.mojom-forward.h"
#include "services/network/public/mojom/url_response_head.mojom-forward.h" #include "services/network/public/mojom/url_response_head.mojom-forward.h"
#include "url/gurl.h" #include "url/gurl.h"
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
#include "content/public/browser/browser_or_resource_context.h" #include "content/public/browser/browser_or_resource_context.h"
#include "content/public/common/resource_type.h" #include "content/public/common/resource_type.h"
#include "mojo/public/cpp/bindings/pending_remote.h" #include "mojo/public/cpp/bindings/pending_remote.h"
#include "services/network/public/mojom/network_context.mojom.h" #include "services/network/public/mojom/network_context.mojom-forward.h"
#include "services/network/public/mojom/url_loader_factory.mojom.h" #include "services/network/public/mojom/url_loader_factory.mojom-forward.h"
#include "ui/base/page_transition_types.h" #include "ui/base/page_transition_types.h"
namespace content { namespace content {
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include "components/keyed_service/core/keyed_service.h" #include "components/keyed_service/core/keyed_service.h"
#include "mojo/public/cpp/bindings/unique_receiver_set.h" #include "mojo/public/cpp/bindings/unique_receiver_set.h"
#include "services/network/cookie_settings.h" #include "services/network/cookie_settings.h"
#include "services/network/public/mojom/cookie_manager.mojom.h" #include "services/network/public/mojom/cookie_manager.mojom-forward.h"
#include "services/network/public/mojom/restricted_cookie_manager.mojom.h" #include "services/network/public/mojom/restricted_cookie_manager.mojom.h"
class Profile; class Profile;
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include "net/http/http_request_headers.h" #include "net/http/http_request_headers.h"
#include "net/http/http_response_headers.h" #include "net/http/http_response_headers.h"
#include "net/http/http_response_info.h" #include "net/http/http_response_info.h"
#include "services/network/public/mojom/url_loader.mojom.h"
#include "services/network/public/mojom/url_response_head.mojom.h" #include "services/network/public/mojom/url_response_head.mojom.h"
#include "ui/base/resource/resource_bundle.h" #include "ui/base/resource/resource_bundle.h"
#include "ui/base/template_expressions.h" #include "ui/base/template_expressions.h"
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "content/public/common/resource_type.h" #include "content/public/common/resource_type.h"
#include "mojo/public/cpp/bindings/pending_receiver.h" #include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h" #include "mojo/public/cpp/bindings/pending_remote.h"
#include "services/network/public/mojom/url_loader.mojom.h" #include "services/network/public/mojom/url_loader.mojom-forward.h"
#include "ui/base/page_transition_types.h" #include "ui/base/page_transition_types.h"
class GURL; class GURL;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "extensions/browser/guest_view/web_view/web_view_permission_helper.h" #include "extensions/browser/guest_view/web_view/web_view_permission_helper.h"
#include "extensions/browser/guest_view/web_view/web_view_permission_helper_delegate.h" #include "extensions/browser/guest_view/web_view/web_view_permission_helper_delegate.h"
#include "ppapi/buildflags/buildflags.h" #include "ppapi/buildflags/buildflags.h"
#include "third_party/blink/public/mojom/permissions/permission_status.mojom.h" #include "third_party/blink/public/mojom/permissions/permission_status.mojom-forward.h"
#if BUILDFLAG(ENABLE_PLUGINS) #if BUILDFLAG(ENABLE_PLUGINS)
#include "chrome/common/plugin.mojom.h" #include "chrome/common/plugin.mojom.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_LANGUAGE_TRANSLATE_FRAME_BINDER_H_ #ifndef CHROME_BROWSER_LANGUAGE_TRANSLATE_FRAME_BINDER_H_
#define CHROME_BROWSER_LANGUAGE_TRANSLATE_FRAME_BINDER_H_ #define CHROME_BROWSER_LANGUAGE_TRANSLATE_FRAME_BINDER_H_
#include "components/translate/content/common/translate.mojom.h" #include "components/translate/content/common/translate.mojom-forward.h"
#include "mojo/public/cpp/bindings/pending_receiver.h" #include "mojo/public/cpp/bindings/pending_receiver.h"
namespace content { namespace content {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include "base/macros.h" #include "base/macros.h"
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "base/time/time.h" #include "base/time/time.h"
#include "chrome/browser/engagement/site_engagement_details.mojom.h" #include "chrome/browser/engagement/site_engagement_details.mojom-forward.h"
#include "components/keyed_service/core/keyed_service.h" #include "components/keyed_service/core/keyed_service.h"
#include "components/url_formatter/url_formatter.h" #include "components/url_formatter/url_formatter.h"
#include "url/gurl.h" #include "url/gurl.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