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

Unified Diff: chrome/browser/memory/oom_priority_manager.h

Issue 1188823002: [MemoryPressure] Move chrome/browser/chromeos/* to chrome/browser/memory/*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
Index: chrome/browser/memory/oom_priority_manager.h
diff --git a/chrome/browser/chromeos/memory/oom_priority_manager.h b/chrome/browser/memory/oom_priority_manager.h
similarity index 96%
rename from chrome/browser/chromeos/memory/oom_priority_manager.h
rename to chrome/browser/memory/oom_priority_manager.h
index fbb44306f5f76917df66c751230cac1f06c03c8d..f2e8cfb8e70badbe40a3c78a70b27440d35a0d1b 100644
--- a/chrome/browser/chromeos/memory/oom_priority_manager.h
+++ b/chrome/browser/memory/oom_priority_manager.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_MEMORY_OOM_PRIORITY_MANAGER_H_
-#define CHROME_BROWSER_CHROMEOS_MEMORY_OOM_PRIORITY_MANAGER_H_
+#ifndef CHROME_BROWSER_MEMORY_OOM_PRIORITY_MANAGER_H_
+#define CHROME_BROWSER_MEMORY_OOM_PRIORITY_MANAGER_H_
#include <utility>
#include <vector>
@@ -23,7 +23,7 @@
class GURL;
-namespace chromeos {
+namespace memory {
class LowMemoryObserver;
@@ -75,7 +75,7 @@ class OomPriorityManager : public content::NotificationObserver {
struct TabStats {
TabStats();
~TabStats();
- bool is_app; // browser window is an app
+ bool is_app; // browser window is an app
bool is_reloadable_ui; // Reloadable web UI page, like NTP or Settings.
bool is_playing_audio;
bool is_pinned;
@@ -192,6 +192,6 @@ class OomPriorityManager : public content::NotificationObserver {
DISALLOW_COPY_AND_ASSIGN(OomPriorityManager);
};
-} // namespace chromeos
+} // namespace memory
-#endif // CHROME_BROWSER_CHROMEOS_MEMORY_OOM_PRIORITY_MANAGER_H_
+#endif // CHROME_BROWSER_MEMORY_OOM_PRIORITY_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698