Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / public / browser / memory_pressure_observer.h
blob0bfdea487660372498b624821572985da33cac3f
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.
5 #ifndef CONTENT_PUBLIC_BROWSER_MEMORY_PRESSURE_OBSERVER_H_
6 #define CONTENT_PUBLIC_BROWSER_MEMORY_PRESSURE_OBSERVER_H_
8 #include "content/common/content_export.h"
10 #if defined(OS_CHROMEOS)
11 namespace base {
12 class MemoryPressureObserverChromeOS;
15 namespace content {
17 // Returns the MemoryPressureObserverChromeOS which gets created and is owned by
18 // content.
19 CONTENT_EXPORT base::MemoryPressureObserverChromeOS*
20 GetMemoryPressureObserver();
22 } // namespace content
23 #endif
25 #endif // CONTENT_PUBLIC_BROWSER_MEMORY_PRESSURE_OBSERVER_H_