Index: services/resource_coordinator/public/cpp/coordination_unit_types.h |
diff --git a/services/resource_coordinator/public/cpp/coordination_unit_types.h b/services/resource_coordinator/public/cpp/coordination_unit_types.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..10ff7aaacf5fd738665fa4aa9407c322cd11a888 |
--- /dev/null |
+++ b/services/resource_coordinator/public/cpp/coordination_unit_types.h |
@@ -0,0 +1,20 @@ |
+// 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 SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_TYPES_H_ |
+#define SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_TYPES_H_ |
+ |
+namespace resource_coordinator { |
+ |
+enum CoordinationUnitType : uint8_t { |
+ INVALID_TYPE, |
+ WEBCONTENTS, |
+ FRAME, |
+ NAVIGATION, |
+ PROCESS, |
+ NUM_TYPES |
+}; |
+ |
+} // resource_coordinator |
+ |
+#endif // SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_TYPES_H_ |