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

Unified Diff: services/resource_coordinator/public/interfaces/events.mojom

Issue 2710823003: NOCOMMIT prototype: GRC service plumbing and process priority
Patch Set: Buildfixes Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: services/resource_coordinator/public/interfaces/events.mojom
diff --git a/services/resource_coordinator/public/interfaces/events.mojom b/services/resource_coordinator/public/interfaces/events.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..41bdace8184a9311550aa22aa7cc4ffcc4c37724
--- /dev/null
+++ b/services/resource_coordinator/public/interfaces/events.mojom
@@ -0,0 +1,19 @@
+// 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.
+
+module resource_coordinator.mojom;
+
+enum EventType {
+ UNKNOWN,
+ ON_COMMIT,
+ ON_WEBCONTENTS_SHOWN,
+ ON_WEBCONTENTS_HIDDEN,
+ ON_RENDERER_FRAME_CREATED,
+ ON_PROCESS_AUDIO_STARTED,
+ ON_PROCESS_AUDIO_STOPPED
+};
+
+struct Event {
+ EventType type;
+};

Powered by Google App Engine
This is Rietveld 408576698