Commit a166dc7a authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

Reduce the size of security_context.h

security_context.h is used in 2,700+ compilation units. crrev.com/594074
increased its pre-processed size by 1.32MB, and this CL fixes it.

Bug: 242216, 888668
Change-Id: I623ad22e5351328f934a0b1cd7caece6b4b07944
Reviewed-on: https://chromium-review.googlesource.com/1256470Reviewed-by: default avatarDaniel Bratell <bratell@opera.com>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595757}
parent e5dd1eeb
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include "base/macros.h" #include "base/macros.h"
#include "base/memory/scoped_refptr.h" #include "base/memory/scoped_refptr.h"
#include "third_party/blink/public/common/feature_policy/feature_policy.h"
#include "third_party/blink/public/platform/web_insecure_request_policy.h" #include "third_party/blink/public/platform/web_insecure_request_policy.h"
#include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/frame/sandbox_flags.h" #include "third_party/blink/renderer/core/frame/sandbox_flags.h"
...@@ -53,6 +52,7 @@ using ParsedFeaturePolicy = std::vector<ParsedFeaturePolicyDeclaration>; ...@@ -53,6 +52,7 @@ using ParsedFeaturePolicy = std::vector<ParsedFeaturePolicyDeclaration>;
enum class ReportOptions { kReportOnFailure, kDoNotReport }; enum class ReportOptions { kReportOnFailure, kDoNotReport };
namespace mojom { namespace mojom {
enum class FeaturePolicyFeature : int32_t;
enum class IPAddressSpace : int32_t; enum class IPAddressSpace : int32_t;
} }
......
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