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 #ifndef CONTENT_PUBLIC_BROWSER_MEMORY_PRESSURE_OBSERVER_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_MEMORY_PRESSURE_OBSERVER_H_ | |
7 | |
8 #include "content/common/content_export.h" | |
9 | |
10 #if defined(OS_CHROMEOS) | |
11 namespace base { | |
12 class MemoryPressureObserverChromeOS; | |
13 } | |
14 | |
15 namespace content { | |
16 | |
17 // Returns the MemoryPressureObserverChromeOS which gets created and is owned by | |
18 // content. | |
19 CONTENT_EXPORT base::MemoryPressureObserverChromeOS* | |
20 GetMemoryPressureObserver(); | |
21 | |
22 } // namespace content | |
23 #endif | |
24 | |
25 #endif // CONTENT_PUBLIC_BROWSER_MEMORY_PRESSURE_OBSERVER_H_ | |
OLD | NEW |