summaryrefslogtreecommitdiff
path: root/base/android/java/src/org/chromium/base/memory/MemoryPressureCallback.java
blob: 258aa0bbdf818f85beeabeae29fef561354d47d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2018 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.

package org.chromium.base.memory;

import org.chromium.base.MemoryPressureLevel;

/**
 * Memory pressure callback interface.
 */
@FunctionalInterface
public interface MemoryPressureCallback {
    public void onPressure(@MemoryPressureLevel int pressure);
}