Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Unified Diff: content/browser/memory_pressure_observer.cc

Issue 1045433002: Migrate ChromeOS to base::MemoryPressureMonitor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/renderer_host/renderer_frame_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/memory_pressure_observer.cc
diff --git a/content/browser/memory_pressure_observer.cc b/content/browser/memory_pressure_observer.cc
deleted file mode 100644
index d1ae7601096140236625f6a561716c80a748e955..0000000000000000000000000000000000000000
--- a/content/browser/memory_pressure_observer.cc
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/public/browser/memory_pressure_observer.h"
-
-#include "content/browser/browser_main_loop.h"
-
-#if defined(OS_CHROMEOS)
-namespace content {
-
-base::MemoryPressureObserverChromeOS* GetMemoryPressureObserver() {
- DCHECK(BrowserMainLoop::GetInstance());
- return BrowserMainLoop::GetInstance()->memory_pressure_observer();
-}
-
-} // namespace content
-#endif
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/renderer_host/renderer_frame_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698