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

Unified Diff: chrome/browser/memory/tab_manager_unittest.cc

Issue 1858033002: [ChromeOS] Do not send the memory pressure notification from chrome to renderers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gied ifdef Created 4 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 | « chrome/browser/memory/tab_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory/tab_manager_unittest.cc
diff --git a/chrome/browser/memory/tab_manager_unittest.cc b/chrome/browser/memory/tab_manager_unittest.cc
index 9becd485d9e5b0aab3dcd096b2780c4be87f489c..eb885061207bd482904453878873114f8462172a 100644
--- a/chrome/browser/memory/tab_manager_unittest.cc
+++ b/chrome/browser/memory/tab_manager_unittest.cc
@@ -451,8 +451,15 @@ MemoryPressureLevel ReturnSpecifiedPressure(
} // namespace
+// ChildProcessNotification is disabled on Chrome OS. crbug.com/588172.
+#if defined(OS_CHROMEOS)
+#define MAYBE_ChildProcessNotifications DISABLED_ChildProcessNotifications
+#else
+#define MAYBE_ChildProcessNotifications ChildProcessNotifications
+#endif
+
// Ensure that memory pressure notifications are forwarded to child processes.
-TEST_F(TabManagerTest, ChildProcessNotifications) {
+TEST_F(TabManagerTest, MAYBE_ChildProcessNotifications) {
TabManager tm;
// Set up the tab strip.
« no previous file with comments | « chrome/browser/memory/tab_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698