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

Side by Side Diff: services/resource_coordinator/public/interfaces/events.mojom

Issue 2798713002: Global Resource Coordinator: Basic service internals (Closed)
Patch Set: Wrap EventType directly in resource_coordinator namespace when using helper 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
5 module resource_coordinator.mojom;
6
7 enum EventType {
8 INVALID_EVENT,
dcheng 2017/04/18 05:40:47 This doesn't seem to be used.
oystein (OOO til 10th of July) 2017/04/18 20:55:34 Removed.
9 TEST_EVENT,
dcheng 2017/04/18 05:40:47 Add some comments to the enumerator values here. I
oystein (OOO til 10th of July) 2017/04/18 20:55:34 Expanded the name a bit; I'm expecting the actual
10 ON_COMMIT,
11 ON_WEBCONTENTS_SHOWN,
12 ON_WEBCONTENTS_HIDDEN,
13 ON_RENDERER_FRAME_CREATED,
14 ON_PROCESS_AUDIO_STARTED,
15 ON_PROCESS_AUDIO_STOPPED,
16 };
17
18 struct Event {
19 EventType type;
dcheng 2017/04/18 05:40:47 Indent is funny
oystein (OOO til 10th of July) 2017/04/18 20:55:33 Ah, tab rather than spaces somehow. Fixed.
20 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698