| Index: chromecast/browser/cast_memory_pressure_monitor.h
|
| diff --git a/chromecast/browser/cast_memory_pressure_monitor.h b/chromecast/browser/cast_memory_pressure_monitor.h
|
| index b24702c1ba02437a8c884aee1ee8d1ca5e9ba25d..bb6ed92bcd04e3885ef7b69970245cecf705f185 100644
|
| --- a/chromecast/browser/cast_memory_pressure_monitor.h
|
| +++ b/chromecast/browser/cast_memory_pressure_monitor.h
|
| @@ -22,6 +22,7 @@ class CastMemoryPressureMonitor : public base::MemoryPressureMonitor {
|
|
|
| // base::MemoryPressureMonitor implementation:
|
| MemoryPressureLevel GetCurrentPressureLevel() const override;
|
| + void SetDispatchCallback(const DispatchCallback& callback) override;
|
|
|
| private:
|
| void PollPressureLevel();
|
| @@ -29,6 +30,7 @@ class CastMemoryPressureMonitor : public base::MemoryPressureMonitor {
|
|
|
| MemoryPressureLevel current_level_;
|
| const int system_reserved_kb_;
|
| + DispatchCallback dispatch_callback_;
|
| base::WeakPtrFactory<CastMemoryPressureMonitor> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CastMemoryPressureMonitor);
|
|
|