Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 // This file intentionally does not have header guards, it's included | |
| 6 // inside a macro to generate enum and a java class for the values. | |
| 7 | |
| 8 #ifndef DEFINE_MEMORY_PRESSURE_TYPE | |
| 9 #error "DEFINE_MEMORY_PRESSURE_TYPE should be defined." | |
| 10 #endif | |
| 11 | |
| 12 DEFINE_MEMORY_PRESSURE_TYPE(MEMORY_PRESSURE_LOW, 0) | |
| 13 DEFINE_MEMORY_PRESSURE_TYPE(MEMORY_PRESSURE_MODERATE, 1) | |
|
joth
2013/06/05 16:51:23
these need some descriptions.
Tom's suggestions of
bulach
2013/06/05 19:02:11
yeah, I'm ambivalent of these levels...
on one han
| |
| 14 DEFINE_MEMORY_PRESSURE_TYPE(MEMORY_PRESSURE_CRITICAL, 2) | |
| OLD | NEW |