mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-05 03:36:08 +03:00
35 lines
963 B
Plaintext
35 lines
963 B
Plaintext
|
// 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 Event {
|
||
|
kTestEvent,
|
||
|
kAlertFired,
|
||
|
kFaviconUpdated,
|
||
|
// This event signal is received when main frame navigation is committed.
|
||
|
kNavigationCommitted,
|
||
|
// Only care about non-persistent notifications, notifications launched from
|
||
|
// ServiceWorker are persistent and compatible with LifeCycle.
|
||
|
kNonPersistentNotificationCreated,
|
||
|
kTitleUpdated,
|
||
|
};
|
||
|
|
||
|
// Defines the Storage property keys that can be get/set on the
|
||
|
// CoordinationUnitImpl internal key-value store.
|
||
|
enum PropertyType {
|
||
|
kTest,
|
||
|
kAudible,
|
||
|
kCPUUsage,
|
||
|
kExpectedTaskQueueingDuration,
|
||
|
kLaunchTime,
|
||
|
kMainThreadTaskLoadIsLow,
|
||
|
// Network is considered almost idle when there's no more than 2 network
|
||
|
// connections.
|
||
|
kNetworkAlmostIdle,
|
||
|
kPID,
|
||
|
kVisible,
|
||
|
kUKMSourceId,
|
||
|
};
|