common_param_traits.h 896 B

1234567891011121314151617181920
  1. // Copyright 2017 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. // no-include-guard-because-multiply-included
  5. // Multiply-included file, hence no include guard.
  6. #include "components/version_info/version_info.h"
  7. #include "extensions/common/manifest.h"
  8. #include "extensions/common/mojom/feature_session_type.mojom.h"
  9. #include "ipc/ipc_message_macros.h"
  10. #include "ipc/param_traits_macros.h"
  11. IPC_ENUM_TRAITS_MAX_VALUE(version_info::Channel, version_info::Channel::STABLE)
  12. IPC_ENUM_TRAITS_MAX_VALUE(extensions::mojom::FeatureSessionType,
  13. extensions::mojom::FeatureSessionType::kMaxValue)
  14. IPC_ENUM_TRAITS_MIN_MAX_VALUE(
  15. extensions::mojom::ManifestLocation,
  16. extensions::mojom::ManifestLocation::kInvalidLocation,
  17. extensions::mojom::ManifestLocation::kMaxValue)