vendor/chromium/base/util/memory_pressure/system_memory_pressure_evaluator_chromeos_unittest.cc
// Processes OnMemoryPressure calls by just storing the sequence of events so we
// can validate that we received the expected pressure levels as the test runs.
Processes OnMemoryPressure calls by just storing the sequence of events so we
can validate that we received the expected pressure levels as the test runs.
Processes OnMemoryPressure calls by just storing the sequence of events so we can validate that we received the expected pressure levels as the test runs .
void OnMemoryPressure(
    std::vector<base::MemoryPressureListener::MemoryPressureLevel>* history,
    base::MemoryPressureListener::MemoryPressureLevel level) {
  history->push_back(level);
}
void OnMemoryPressure ( std :: vector < base :: MemoryPressureListener :: MemoryPressureLevel > * history , base :: MemoryPressureListener :: MemoryPressureLevel level ) { history -> push_back ( level ) ; }
Processes OnMemoryPressure calls by just storing the sequence of events so we
can validate that we received the expected pressure levels as the test runs.
Processes OnMemoryPressure calls by just storing the sequence of events so we can validate that we received the expected pressure levels as the test runs .