Remove some illegal enum forward declarations

C++ forbids the forward declaring of enums without specifying a size
because the size is not known. Specifying the size in multiple places is
dangerous. So, this change removes the forward declarations and instead
includes the required header files, except where one case where the
forward declaration is unavoidable.

These problems were found with the C4471 option, enabled with /w14471.

R=jschuh@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng

Review-Url: https://codereview.chromium.org/2829853010
Cr-Original-Commit-Position: refs/heads/master@{#466628}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a85fa6ea57acf1e6d8b3a13f1dc9b9754c2ec89b
10 files changed
tree: 59c9821d99dafe31c2811680238b9a1d5cd93186
  1. linux/
  2. mac/
  3. win/
  4. BUILD.gn
  5. features.gni
  6. OWNERS
  7. sandbox_export.h