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

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

Issue 2373653002: [TabManager] Enable tab discarding by default. (Closed)
Patch Set: . Created 4 years, 3 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') | chrome/browser/memory/tab_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2ea6febbb8db3daf7e7103797bbd6a0a3ac301e2..917d57f17dfb6a8ea0dcac87988c32588cccc02f 100644
--- a/chrome/browser/memory/tab_manager_browsertest.cc
+++ b/chrome/browser/memory/tab_manager_browsertest.cc
@@ -33,16 +33,6 @@ using content::OpenURLParams;
namespace memory {
class TabManagerTest : public InProcessBrowserTest {
- public:
- // Tab discarding is enabled by default on CrOS. On other platforms, force it
- // by turning on the corresponding experiment as some tests assume this
- // behavior it turned on.
- void SetUpCommandLine(base::CommandLine* command_line) override {
-#if !defined(OS_LINUX)
- command_line->AppendSwitchASCII(switches::kEnableFeatures,
- features::kAutomaticTabDiscarding.name);
-#endif
- }
};
IN_PROC_BROWSER_TEST_F(TabManagerTest, TabManagerBasics) {
« no previous file with comments | « chrome/browser/memory/tab_manager.cc ('k') | chrome/browser/memory/tab_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698