naiveproxy/chromecast/common/memory_pressure.mojom
2018-01-29 00:30:36 +08:00

15 lines
444 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 chromecast.mojom;
interface MemoryPressureController {
AddObserver(MemoryPressureObserver observer);
};
interface MemoryPressureObserver {
// Levels defined in base::MemoryPressureListener::MemoryPressureLevel
MemoryPressureLevelChanged(int32 pressure_level);
};