OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 #include "content/public/browser/memory_pressure_observer.h" |
| 6 |
| 7 #include "content/browser/browser_main_loop.h" |
| 8 |
| 9 #if defined(OS_CHROMEOS) |
| 10 namespace content { |
| 11 |
| 12 base::MemoryPressureObserverChromeOS* GetMemoryPressureObserver() { |
| 13 DCHECK(BrowserMainLoop::GetInstance()); |
| 14 return BrowserMainLoop::GetInstance()->memory_pressure_observer(); |
| 15 } |
| 16 |
| 17 } // namespace content |
| 18 #endif |
OLD | NEW |