Index: chrome/browser/memory/tab_manager_browsertest.cc |
diff --git a/chrome/browser/memory/tab_manager_browsertest.cc b/chrome/browser/memory/tab_manager_browsertest.cc |
index 41a7f9a0205347c85f7e0e1ec3a341179181b232..f81393b479ddcabaf79ebd8fb6b1fef777fd198f 100644 |
--- a/chrome/browser/memory/tab_manager_browsertest.cc |
+++ b/chrome/browser/memory/tab_manager_browsertest.cc |
@@ -17,6 +17,7 @@ |
#include "chrome/browser/ui/find_bar/find_bar_controller.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "chrome/common/chrome_features.h" |
+#include "chrome/common/chrome_switches.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/test/base/in_process_browser_test.h" |
#include "chrome/test/base/interactive_test_utils.h" |
@@ -42,6 +43,7 @@ class TabManagerTest : public InProcessBrowserTest { |
command_line->AppendSwitchASCII(switches::kEnableFeatures, |
features::kAutomaticTabDiscarding.name); |
#endif |
+ command_line->AppendSwitchASCII(switches::kPurgeAndSuspendTime, "1"); |
Georges Khalil
2016/05/10 18:58:58
Do we need this here?
hajimehoshi
2016/05/11 07:23:31
No, Done.
|
} |
}; |
@@ -395,4 +397,4 @@ IN_PROC_BROWSER_TEST_F(TabManagerTest, ProtectVideoTabs) { |
} // namespace memory |
-#endif // OS_WIN || OS_CHROMEOS |
+#endif // OS_WIN || OS_MAXOSX || OS_LINUX |