Index: extensions/common/manifest_location_param_traits.h |
diff --git a/extensions/common/manifest_location_param_traits.h b/extensions/common/manifest_location_param_traits.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..15f7dde941a46e86a48719fc9990bcbdf11b7066 |
--- /dev/null |
+++ b/extensions/common/manifest_location_param_traits.h |
@@ -0,0 +1,16 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef EXTENSIONS_COMMON_MANIFEST_LOCATION_PARAM_TRAITS_H_ |
+#define EXTENSIONS_COMMON_MANIFEST_LOCATION_PARAM_TRAITS_H_ |
+ |
+#include "extensions/common/manifest.h" |
+#include "ipc/ipc_message_macros.h" |
+#include "ipc/param_traits_macros.h" |
+ |
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(extensions::Manifest::Location, |
+ extensions::Manifest::INVALID_LOCATION, |
+ extensions::Manifest::NUM_LOCATIONS - 1) |
+ |
+#endif // EXTENSIONS_COMMON_MANIFEST_LOCATION_PARAM_TRAITS_H_ |