1 // Copyright (c) 2013 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.
5 #ifndef CHROMEOS_MEMORY_LOW_MEMORY_LISTENER_DELEGATE_H_
6 #define CHROMEOS_MEMORY_LOW_MEMORY_LISTENER_DELEGATE_H_
8 #include "chromeos/memory/chromeos_memory_export.h"
12 class CHROMEOS_MEMORY_EXPORT LowMemoryListenerDelegate {
14 // Invoked when a low memory situation is detected.
15 virtual void OnMemoryLow() = 0;
18 virtual ~LowMemoryListenerDelegate() {}
21 } // namespace chromeos
23 #endif // CHROMEOS_MEMORY_LOW_MEMORY_LISTENER_DELEGATE_H_