Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: services/resource_coordinator/public/cpp/coordination_unit_types.h

Issue 2798713002: Global Resource Coordinator: Basic service internals (Closed)
Patch Set: Buildfix after rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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 #ifndef SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_TYPES_H_
5 #define SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_TYPES_H_
6
7 #include <stdint.h>
8
9 namespace resource_coordinator {
10
11 // Any new type here needs to be mirrored between coordination_unit_types.h and
12 // coordination_unit.mojom, and have mappings between the two defined in
13 // coordination_unit_struct_traits.h/.cc
14 enum class CoordinationUnitType : uint8_t {
15 kInvalidType,
16 kWebContents,
17 kFrame,
18 kNavigation,
19 kProcess,
20 };
21
22 } // resource_coordinator
23
24 #endif // SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698