Commit 873a0f18 authored by Gyuyoung Kim's avatar Gyuyoung Kim Committed by Commit Bot

Replace .mojom.h includes with .mojom-forward.h in device/gamepad

This CL replaces .mojom.h includes with .mojom-forward.h in
device/gamepad to reduce the pre-processed size of header
files and shorter build time. Additionally, this CL modifies
device/fido as well.

 - device/gamepad
 - device/fido

This CL has no behavior changes.

Bug: 1001360
Change-Id: If8a759c7551699c41d594ef4831d2f099bec02a5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1989710Reviewed-by: default avatarMartin Kreichgauer <martinkr@google.com>
Reviewed-by: default avatarBrandon Jones <bajones@chromium.org>
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Cr-Commit-Position: refs/heads/master@{#729574}
parent b2019261
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,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 "services/device/public/cpp/hid/hid_device_filter.h" #include "services/device/public/cpp/hid/hid_device_filter.h"
#include "services/device/public/mojom/hid.mojom.h" #include "services/device/public/mojom/hid.mojom-forward.h"
namespace device { namespace device {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "device/gamepad/gamepad_export.h" #include "device/gamepad/gamepad_export.h"
#include "device/gamepad/gamepad_pad_state_provider.h" #include "device/gamepad/gamepad_pad_state_provider.h"
#include "device/gamepad/public/cpp/gamepad.h" #include "device/gamepad/public/cpp/gamepad.h"
#include "device/gamepad/public/mojom/gamepad.mojom.h" #include "device/gamepad/public/mojom/gamepad.mojom-forward.h"
#include "mojo/public/cpp/bindings/pending_receiver.h" #include "mojo/public/cpp/bindings/pending_receiver.h"
#include "services/device/public/mojom/hid.mojom.h" #include "services/device/public/mojom/hid.mojom.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "device/gamepad/gamepad_data_fetcher.h" #include "device/gamepad/gamepad_data_fetcher.h"
#include "device/gamepad/gamepad_export.h" #include "device/gamepad/gamepad_export.h"
#include "device/gamepad/gamepad_provider.h" #include "device/gamepad/gamepad_provider.h"
#include "device/gamepad/public/mojom/gamepad.mojom.h" #include "device/gamepad/public/mojom/gamepad.mojom-forward.h"
namespace base { namespace base {
class SingleThreadTaskRunner; class SingleThreadTaskRunner;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include "device/gamepad/public/cpp/gamepads.h" #include "device/gamepad/public/cpp/gamepads.h"
#include "mojo/public/cpp/bindings/associated_receiver.h" #include "mojo/public/cpp/bindings/associated_receiver.h"
#include "mojo/public/cpp/bindings/remote.h" #include "mojo/public/cpp/bindings/remote.h"
#include "services/device/public/mojom/hid.mojom.h" #include "services/device/public/mojom/hid.mojom-forward.h"
namespace device { namespace device {
// Nintendo controllers are not typical HID gamepads and cannot be easily // Nintendo controllers are not typical HID gamepads and cannot be easily
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "base/sequenced_task_runner.h" #include "base/sequenced_task_runner.h"
#include "device/gamepad/abstract_haptic_gamepad.h" #include "device/gamepad/abstract_haptic_gamepad.h"
#include "device/gamepad/public/mojom/gamepad.mojom.h" #include "device/gamepad/public/mojom/gamepad.mojom-forward.h"
struct IOUSBDeviceStruct320; struct IOUSBDeviceStruct320;
struct IOUSBInterfaceStruct300; struct IOUSBInterfaceStruct300;
......
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