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

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

Issue 2798713002: Global Resource Coordinator: Basic service internals (Closed)
Patch Set: Review fixes Created 3 years, 8 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_COORDINATION_UNIT_EVENTS_H_
5 #define SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_COORDINATION_UNIT_EVENTS_H_
6
7 namespace resource_coordinator {
8
9 // Do not assign values to these enum elements as the IPC macros in
10 // coordination_unit_struct_traits.h relies on NUM_EVENTS-1 being the
11 // last valid element.
12 enum class EventType : uint32_t {
13 INVALID_EVENT,
14 TEST_EVENT,
15 ON_COMMIT,
16 ON_WEBCONTENTS_SHOWN,
17 ON_WEBCONTENTS_HIDDEN,
18 ON_RENDERER_FRAME_CREATED,
19 ON_PROCESS_AUDIO_STARTED,
20 ON_PROCESS_AUDIO_STOPPED,
21 NUM_EVENTS
22 };
23
24 } // resource_coordinator
25
26 #endif // SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_COORDINATION_UNIT_EVENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698