Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / browser / memory_pressure_observer.cc
blobd1ae7601096140236625f6a561716c80a748e955
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 #include "content/public/browser/memory_pressure_observer.h"
7 #include "content/browser/browser_main_loop.h"
9 #if defined(OS_CHROMEOS)
10 namespace content {
12 base::MemoryPressureObserverChromeOS* GetMemoryPressureObserver() {
13 DCHECK(BrowserMainLoop::GetInstance());
14 return BrowserMainLoop::GetInstance()->memory_pressure_observer();
17 } // namespace content
18 #endif