forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[mojo] Enable use of forward declarations of type-mapped mojo…
…m types" This reverts commit 63b02ed. Reason for revert: Looks like this broke compile on linux-chromeos-chrome: https://ci.chromium.org/p/chrome/builders/ci/linux-chromeos-chrome/15690 https://ci.chromium.org/p/chrome/builders/ci/linux-chromeos-chrome/15691 https://ci.chromium.org/p/chrome/builders/ci/linux-chromeos-chrome/15692 Original change's description: > [mojo] Enable use of forward declarations of type-mapped mojom types > > This makes it possible to reduce generated header sizes significantly > when the full type is not necessary. > > For example, url_loader_factory.mojom defines an interface using the > URLRequest mojom type, which is type-mapped to the C++ type > ResourceRequest. > > Making it possible to forward declare ResourceRequest avoids the need > to include url_request_mojom.h in url_loader_factory.mojom.h, which > reduces the compiler input size for the chrome target on Linux by > 1.3 GB, saving 19 CPU-minutes of compile time on my machine. > > Bug: 1226821, 242216 > Change-Id: I7ba187f714183ef5a7bc909458276aa4aeb05b2f > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3008756 > Commit-Queue: Hans Wennborg <hans@chromium.org> > Reviewed-by: Ken Rockot <rockot@google.com> > Cr-Commit-Position: refs/heads/master@{#899267} Bug: 1226821, 242216 Change-Id: I412b23efbe70b6e17c9d0c7e3ef031e3d33d6b07 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3011443 Auto-Submit: Scott Little <sclittle@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Trevor Perrier <perrier@chromium.org> Reviewed-by: Scott Little <sclittle@chromium.org> Reviewed-by: Trevor Perrier <perrier@chromium.org> Owners-Override: Scott Little <sclittle@chromium.org> Cr-Commit-Position: refs/heads/master@{#899307}
- Loading branch information
1 parent
f7c8791
commit 04ad4de
Showing
6 changed files
with
5 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters